mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-10 16:34:19 +01:00
Use edit template for displaying errors in update.
This commit is contained in:
parent
d03b48cea0
commit
d5c8ebe205
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue