##// END OF EJS Templates
Backported r11494 from trunk....
Backported r11494 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.3-stable@11577 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10616:3739810afa35
r11347:20cd146e93cd
Show More
30-redmine.rb
15 lines | 408 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 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
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