diff options
author | David Yip <yipdw@member.fsf.org> | 2017-10-24 18:56:44 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-10-24 18:56:44 -0500 |
commit | d5c8ebe205d1bacf056d5801a1cd7ccc874f02ae (patch) | |
tree | bd3a6d2e7ebc357970858703adbb2fdefbd8e12e /app | |
parent | d03b48cea06ac87eecaf7eae96d175ab8ee621ca (diff) |
Use edit template for displaying errors in update.
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/settings/keyword_mutes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/keyword_mutes_controller.rb b/app/controllers/settings/keyword_mutes_controller.rb index d64eba88e..c63626acd 100644 --- a/app/controllers/settings/keyword_mutes_controller.rb +++ b/app/controllers/settings/keyword_mutes_controller.rb @@ -28,7 +28,7 @@ class Settings::KeywordMutesController < ApplicationController if @keyword_mute.update(keyword_mute_params) redirect_to settings_keyword_mutes_path, notice: I18n.t('generic.changes_saved_msg') else - render :new + render :edit end end |