Skip to content

Commit

Permalink
Replaced some 1.9 hash syntax for 1.8.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
james2m committed Apr 10, 2012
1 parent 831ac81 commit 58fadf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/dummy/config/initializers/session_store.rb
@@ -1,6 +1,6 @@
# Be sure to restart your server when you modify this file.

Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'

# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/config/initializers/wrap_parameters.rb
Expand Up @@ -5,7 +5,7 @@

# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActiveSupport.on_load(:action_controller) do
wrap_parameters format: [:json]
wrap_parameters :format => [:json]
end

# Disable root element in JSON by default.
Expand Down

0 comments on commit 58fadf6

Please sign in to comment.