changeset 12:498ec84a7790

No need to add cookie handler.
author edogawaconan <me@myconan.net>
date Fri, 05 Sep 2014 18:50:34 +0900
parents 082e96417e86
children bf9dbbec8c1e
files config/application.rb
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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