annotate config/initializers/30-redmine.rb @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents 433d4f72a19b
children 261b3d9a4903
rev   line source
Chris@0 1 I18n.default_locale = 'en'
Chris@1115 2 I18n.backend = Redmine::I18n::Backend.new
Chris@0 3
Chris@0 4 require 'redmine'
Chris@1115 5
Chris@1115 6 # Load the secret token from the Redmine configuration file
Chris@1115 7 secret = Redmine::Configuration['secret_token']
Chris@1115 8 if secret.present?
Chris@1115 9 RedmineApp::Application.config.secret_token = secret
Chris@1115 10 end
Chris@1115 11
Chris@1115 12 Redmine::Plugin.load
Chris@1115 13 unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false
Chris@1115 14 Redmine::Plugin.mirror_assets
Chris@1115 15 end