##// END OF EJS Templates
Merged rails-4.1 branch (#14534)....
Merged rails-4.1 branch (#14534). git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13100:2d1866d966d9
r13100:2d1866d966d9
Show More
30-redmine.rb
24 lines | 761 B | text/x-ruby | RubyLexer
Jean-Philippe Lang
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2....
r2430 I18n.default_locale = 'en'
Jean-Philippe Lang
Adds a custom i18n backend that lazily loads translations files....
r10616 I18n.backend = Redmine::I18n::Backend.new
Jean-Philippe Lang
Merged rails-4.1 branch (#14534)....
r13100 # Forces I18n to load available locales from the backend
I18n.config.available_locales = nil
Jean-Philippe Lang
Merged Rails 2.1 compatibility branch....
r1609
require 'redmine'
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346
Jean-Philippe Lang
Let the secret token be set in configuration.yml....
r9384 # Load the secret token from the Redmine configuration file
secret = Redmine::Configuration['secret_token']
if secret.present?
RedmineApp::Application.config.secret_token = secret
end
Toshi MARUYAMA
enable configuration of OpenIdAuthentication.store (#14060)...
r11619 if Object.const_defined?(:OpenIdAuthentication)
openid_authentication_store = Redmine::Configuration['openid_authentication_store']
OpenIdAuthentication.store =
openid_authentication_store.present? ?
openid_authentication_store : :memory
end
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 Redmine::Plugin.load
Jean-Philippe Lang
Restores plugin assets mirroring on startup, but it can now be disabled in configuration.yml....
r9379 unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
Redmine::Plugin.mirror_assets
end