Use edit template for displaying errors in update.

lolsob-rspec
David Yip 2017-10-24 18:56:44 -05:00
parent 22f9b4f2c0
commit 2da4eca986
1 changed files with 1 additions and 1 deletions

View File

@ -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