1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-30 07:49:04 +09:00

Use edit template for displaying errors in update.

This commit is contained in:
David Yip 2017-10-24 18:56:44 -05:00
parent d03b48cea0
commit d5c8ebe205

View File

@ -28,7 +28,7 @@ class Settings::KeywordMutesController < ApplicationController
if @keyword_mute.update(keyword_mute_params) if @keyword_mute.update(keyword_mute_params)
redirect_to settings_keyword_mutes_path, notice: I18n.t('generic.changes_saved_msg') redirect_to settings_keyword_mutes_path, notice: I18n.t('generic.changes_saved_msg')
else else
render :new render :edit
end end
end end