Browse Source

Use edit template for displaying errors in update.

closed-social-glitch-2
David Yip 7 years ago
parent
commit
d5c8ebe205
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/settings/keyword_mutes_controller.rb

+ 1
- 1
app/controllers/settings/keyword_mutes_controller.rb 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

Loading…
Cancel
Save