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
This commit is contained in:
parent
0b1343834d
commit
a01a562261
|
@ -50,7 +50,7 @@ class SettingsController < ApplicationController
|
||||||
flash[:notice] = l(:notice_successful_update)
|
flash[:notice] = l(:notice_successful_update)
|
||||||
redirect_to :action => 'plugin', :id => params[:id]
|
redirect_to :action => 'plugin', :id => params[:id]
|
||||||
end
|
end
|
||||||
@partial = "../../vendor/plugins/#{plugin_id}/app/views/" + @plugin.settings[:partial]
|
@partial = @plugin.settings[:partial]
|
||||||
@settings = Setting["plugin_#{plugin_id}"]
|
@settings = Setting["plugin_#{plugin_id}"]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue