cirandas.net

ref: master

config/initializers/00_dependencies.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##
# Dependencies that need to load after application init
# If don't depend on rails should be loaded on config/application.rb instead
#

unless Rails.env.development?
  middleware = Noosfero::Application.config.middleware
  middleware.insert_before ::ActionDispatch::Cookies, NoosferoHttpCaching::Middleware
end

require 'noosfero/i18n'