Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

corrected error message in session/cookie_store [#4546 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
commit 446b0ffe1c804f4925867d785b9709d21105c707 1 parent 5c245b9
@joshk joshk authored josevalim committed
View
2  actionpack/lib/action_dispatch/middleware/session/cookie_store.rb
@@ -177,7 +177,7 @@ def ensure_session_key(key)
if key.blank?
raise ArgumentError, 'A key is required to write a ' +
'cookie containing the session data. Use ' +
- 'config.action_controller.session_store :cookie_store, { :key => ' +
+ 'config.session_store :cookie_store, { :key => ' +
'"_myapp_session" } in config/application.rb'
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.