diff options
Diffstat (limited to 'app/controllers/settings_controller.rb')
-rw-r--r-- | app/controllers/settings_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index 9a595f3f2..9fb08d651 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -70,12 +70,12 @@ class SettingsController < ApplicationController if request.post? setting = params[:settings] ? params[:settings].permit!.to_h : {} - Setting.send "plugin_#{@plugin.id}=", setting + Setting.send :"plugin_#{@plugin.id}=", setting flash[:notice] = l(:notice_successful_update) redirect_to plugin_settings_path(@plugin) else @partial = @plugin.settings[:partial] - @settings = Setting.send "plugin_#{@plugin.id}" + @settings = Setting.send :"plugin_#{@plugin.id}" end rescue Redmine::PluginNotFound render_404 |