Mercurial > rsstweet
diff config/application.rb @ 72:257910c60eb3
Rails 5 \o/
author | nanaya <me@myconan.net> |
---|---|
date | Fri, 13 May 2016 04:32:21 +0900 |
parents | e5082c4c234d |
children | e9a6019a34ea |
line wrap: on
line diff
--- a/config/application.rb Tue Mar 01 16:34:29 2016 +0900 +++ b/config/application.rb Fri May 13 04:32:21 2016 +0900 @@ -1,4 +1,4 @@ -require File.expand_path("../boot", __FILE__) +require_relative "boot" # Pick the frameworks you want: # require "active_model/railtie" @@ -9,7 +9,7 @@ # require "sprockets/railtie" require "rails/test_unit/railtie" -require File.expand_path("../config_init", __FILE__) +require_relative "config_init" # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. @@ -28,7 +28,7 @@ # 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" + config.middleware.delete ActionDispatch::Cookies # this isn't actually used but railties checks this variable during boot. config.secret_key_base = "herp a derp"