Skip to content

Commit 5821544

Browse files
author
Arvid Andersson
committed
Removed = in instructions for Rails session_store initializer
1 parent 1d1ff1d commit 5821544

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ In the session_store initializer (config/initializers/session_store.rb):
1919

2020
```ruby
2121
# MongoMapper
22-
MyApp::Application.config.session_store = :mongo_mapper_store
22+
MyApp::Application.config.session_store :mongo_mapper_store
2323

2424
# Mongoid
25-
MyApp::Application.config.session_store = :mongoid_store
25+
MyApp::Application.config.session_store :mongoid_store
2626

2727
# anything else
28-
MyApp::Application.config.session_store = :mongo_store
28+
MyApp::Application.config.session_store :mongo_store
2929
MongoStore::Session.database = Mongo::Connection.new.db('my_app_development')
3030
```
3131

0 commit comments

Comments
 (0)