mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Use edit template for displaying errors in update.
This commit is contained in:
parent
d03b48cea0
commit
d5c8ebe205
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user