Browse files

Replaced some 1.9 hash syntax for 1.8.7.

  • Loading branch information...
1 parent 831ac81 commit 58fadf62edf41c151a509db626fe761ff89344ec @james2m committed Apr 10, 2012
@@ -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
@@ -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]
# Disable root element in JSON by default.

0 comments on commit 58fadf6

Please sign in to comment.