diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-17 10:40:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-17 10:40:51 +0000 |
commit | 7b6e6b9370719ef6f081230681fbcbb5828c14bd (patch) | |
tree | 0c76a9eba4200b65babb785234418dd20c7bfd18 /lib | |
parent | 557f8bf87aa8bb9d572f68819f26098e420c6d3c (diff) | |
download | redmine-7b6e6b9370719ef6f081230681fbcbb5828c14bd.tar.gz redmine-7b6e6b9370719ef6f081230681fbcbb5828c14bd.zip |
Removes plugins_path from configuration file (#24007).
git-svn-id: http://svn.redmine.org/redmine/trunk@16675 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index 9ab364b3a..503c3db2c 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -44,7 +44,7 @@ module Redmine #:nodoc: # When rendered, the plugin settings value is available as the local variable +settings+ class Plugin cattr_accessor :directory - self.directory = Redmine::Configuration['plugins_path'] || File.join(Rails.root, 'plugins') + self.directory = File.join(Rails.root, 'plugins') cattr_accessor :public_directory self.public_directory = File.join(Rails.root, 'public', 'plugin_assets') |