Add README docs and a CHANGELOG entry for #2916

This commit is contained in:
Lucas Mazza 2014-03-09 20:54:01 -03:00
parent ccfe389be1
commit 0df786c849
2 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* enchancements
* `bcrypt` dependency updated due https://github.com/codahale/bcrypt-ruby/pull/86.
* View generator now can generate specific views with the `-v` flag, like `rails g devise:views -v sessions` (by @kayline)
### 3.2.3

View File

@ -267,6 +267,13 @@ After doing so, you will be able to have views based on the role like `users/ses
rails generate devise:views users
```
If you want to generate only a few set of views, like the ones for the `registrable` and `confirmable` module,
you can pass a list of modules to the generator with the `-v` flag.
```console
rails generate devise:views -v registrations confirmations
```
### Configuring controllers
If the customization at the views level is not enough, you can customize each controller by following these steps: