about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-10-24 18:56:44 -0500
committerDavid Yip <yipdw@member.fsf.org>2017-10-24 18:56:44 -0500
commitd5c8ebe205d1bacf056d5801a1cd7ccc874f02ae (patch)
treebd3a6d2e7ebc357970858703adbb2fdefbd8e12e /app/controllers
parentd03b48cea06ac87eecaf7eae96d175ab8ee621ca (diff)
Use edit template for displaying errors in update.
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/settings/keyword_mutes_controller.rb2
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