comparison config/application.rb @ 89:d5a0d66ee457

Finish updating to rails 5
author nanaya <me@myconan.net>
date Sat, 02 Jul 2016 16:26:00 +0900
parents e9a6019a34ea
children f76d44baa3dc
comparison
equal deleted inserted replaced
88:cf9a9ce2d034 89:d5a0d66ee457
19 class Application < Rails::Application 19 class Application < Rails::Application
20 # Settings in config/environments/* take precedence over those specified here. 20 # Settings in config/environments/* take precedence over those specified here.
21 # Application configuration should go into files in config/initializers 21 # Application configuration should go into files in config/initializers
22 # -- all .rb files in that directory are automatically loaded. 22 # -- all .rb files in that directory are automatically loaded.
23 23
24 # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25 # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26 # config.time_zone = 'Central Time (US & Canada)'
27
28 # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29 # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30 # config.i18n.default_locale = :de
31 config.middleware.delete ActionDispatch::Cookies 24 config.middleware.delete ActionDispatch::Cookies
32 25
33 # this isn't actually used but railties checks this variable during boot. 26 # this isn't actually used but railties checks this variable during boot.
34 config.secret_key_base = "herp a derp" 27 config.secret_key_base = "herp a derp"
35 config.session_store :disabled 28 config.session_store :disabled