@@ -75,7 +75,7 class Setting < ActiveRecord::Base | |||
|
75 | 75 | TIS-620) |
|
76 | 76 | |
|
77 | 77 | cattr_accessor :available_settings |
|
78 |
@@available_settings = YAML::load(File.open("#{R |
|
|
78 | @@available_settings = YAML::load(File.open("#{Rails.root}/config/settings.yml")) | |
|
79 | 79 | Redmine::Plugin.all.each do |plugin| |
|
80 | 80 | next unless plugin.settings |
|
81 | 81 | @@available_settings["plugin_#{plugin.id}"] = {'default' => plugin.settings[:default], 'serialized' => true} |
General Comments 0
You need to be logged in to leave comments.
Login now