Add README docs and a CHANGELOG entry for #2916
This commit is contained in:
parent
ccfe389be1
commit
0df786c849
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue