Mercurial > hg > soundsoftware-site
annotate .svn/pristine/7f/7fcf98062f225c31040e36d46ef397f977744c7b.svn-base @ 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 | 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 |