comparison config/initializers/30-redmine.rb @ 1115:433d4f72a19b redmine-2.2

Update to Redmine SVN revision 11137 on 2.2-stable branch
author Chris Cannam
date Mon, 07 Jan 2013 12:01:42 +0000
parents 8661b858af72
children 261b3d9a4903
comparison
equal deleted inserted replaced
929:5f33065ddc4b 1115:433d4f72a19b
1 I18n.default_locale = 'en' 1 I18n.default_locale = 'en'
2 # Adds fallback to default locale for untranslated strings 2 I18n.backend = Redmine::I18n::Backend.new
3 I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
4 3
5 require 'redmine' 4 require 'redmine'
5
6 # Load the secret token from the Redmine configuration file
7 secret = Redmine::Configuration['secret_token']
8 if secret.present?
9 RedmineApp::Application.config.secret_token = secret
10 end
11
12 Redmine::Plugin.load
13 unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
14 Redmine::Plugin.mirror_assets
15 end