mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typo s/prefered/preferred/ [ci skip]
This commit is contained in:
parent
9171763d19
commit
b96990da11
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ when added (including the session key), so you can't just add a `session_store.r
|
|||
may work, but your session options will be ignored - i.e the session key will default to `_session_id`)
|
||||
|
||||
Instead of the initializer, you'll have to set the relevant options somewhere before your middleware is
|
||||
built (like `config/application.rb`) and pass them to your prefered middleware, like this:
|
||||
built (like `config/application.rb`) and pass them to your preferred middleware, like this:
|
||||
|
||||
```ruby
|
||||
config.session_store :cookie_store, key: '_interslice_session' # <-- this also configures session_options for use below
|
||||
|
|
Loading…
Reference in a new issue