Skip to content

Commit

Permalink
fix some config errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dennysfredericci committed Aug 1, 2012
1 parent f85bc06 commit 2a3bdb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example.rails3/config/initializers/session_store.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Be sure to restart your server when you modify this file.

ExampleRails3::Application.config.session_store :cookie_store, key: '_example.rails3_session'
ExampleRails3::Application.config.session_store :cookie_store, :key => '_example.rails3_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 example.rails3/config/initializers/wrap_parameters.rb
Original file line number Diff line number Diff line change
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 2a3bdb9

Please sign in to comment.