summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-12 10:31:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-12 10:31:41 +0000
commita01a5622616b3bc426e73c53670242ad4133742e (patch)
tree1dd03659fc3a8004c7401ede729456bac413ea65 /app/controllers
parent0b1343834daaab9e95e48c45b9d7ec54fd906345 (diff)
downloadredmine-a01a5622616b3bc426e73c53670242ad4133742e.tar.gz
redmine-a01a5622616b3bc426e73c53670242ad4133742e.zip
Fixed: Plugin's setting page is broken after upgrading to rails 2.1.0 (#1620).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1656 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/settings_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb
index 59b9c67e1..e20cb64b5 100644
--- a/app/controllers/settings_controller.rb
+++ b/app/controllers/settings_controller.rb
@@ -50,7 +50,7 @@ class SettingsController < ApplicationController
flash[:notice] = l(:notice_successful_update)
redirect_to :action => 'plugin', :id => params[:id]
end
- @partial = "../../vendor/plugins/#{plugin_id}/app/views/" + @plugin.settings[:partial]
+ @partial = @plugin.settings[:partial]
@settings = Setting["plugin_#{plugin_id}"]
end
end