diff config/application.rb @ 12:498ec84a7790

No need to add cookie handler.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:50:34 +0900
parents dac0d7297388
children 157f7fd136fc
line wrap: on
line diff
--- a/config/application.rb	Fri Sep 05 18:50:24 2014 +0900
+++ b/config/application.rb	Fri Sep 05 18:50:34 2014 +0900
@@ -26,5 +26,6 @@
     # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
     # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
     # config.i18n.default_locale = :de
+    config.middleware.delete "ActionDispatch::Cookies"
   end
 end