changeset 18:aeb4d50ec21b

Hash rocket everywhere.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 23:10:53 +0900
parents 6718f51b34b5
children 157f7fd136fc
files Gemfile config/initializers/wrap_parameters.rb
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Gemfile	Fri Sep 05 20:40:50 2014 +0900
+++ b/Gemfile	Fri Sep 05 23:10:53 2014 +0900
@@ -6,10 +6,10 @@
 # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
 # gem 'jbuilder', '~> 2.0'
 # bundle exec rake doc:rails generates the API under doc/api.
-gem 'sdoc', '~> 0.4.0',      group: :doc
+gem 'sdoc', '~> 0.4.0',      :group => :doc
 
 # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
-gem 'spring',    group: :development
+gem 'spring',    :group => :development
 
 # Use ActiveModel has_secure_password
 # gem 'bcrypt', '~> 3.1.7'
--- a/config/initializers/wrap_parameters.rb	Fri Sep 05 20:40:50 2014 +0900
+++ b/config/initializers/wrap_parameters.rb	Fri Sep 05 23:10:53 2014 +0900
@@ -5,5 +5,5 @@
 
 # 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] if respond_to?(:wrap_parameters)
+  wrap_parameters :format => [:json] if respond_to?(:wrap_parameters)
 end