Mercurial > hg > soundsoftware-site
annotate config/initializers/30-redmine.rb @ 1458:b1f4c9a2af24 bug_794
Makes the default radio button checked by default -- this should fix bug #794.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 11 Nov 2013 18:25:22 +0000 |
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 |