Mercurial > hg > soundsoftware-site
annotate .svn/pristine/7f/7fcf98062f225c31040e36d46ef397f977744c7b.svn-base @ 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 | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 I18n.default_locale = 'en' |
Chris@1296 | 2 I18n.backend = Redmine::I18n::Backend.new |
Chris@1296 | 3 |
Chris@1296 | 4 require 'redmine' |
Chris@1296 | 5 |
Chris@1296 | 6 # Load the secret token from the Redmine configuration file |
Chris@1296 | 7 secret = Redmine::Configuration['secret_token'] |
Chris@1296 | 8 if secret.present? |
Chris@1296 | 9 RedmineApp::Application.config.secret_token = secret |
Chris@1296 | 10 end |
Chris@1296 | 11 |
Chris@1296 | 12 Redmine::Plugin.load |
Chris@1296 | 13 unless Redmine::Configuration['mirror_plugins_assets_on_startup'] == false |
Chris@1296 | 14 Redmine::Plugin.mirror_assets |
Chris@1296 | 15 end |