0
0
Fork 0

Remove un-needed action and template options to render in controllers (#28022)

This commit is contained in:
Matt Jankowski 2023-11-29 05:38:05 -05:00 committed by GitHub
parent a1636fce7f
commit 291dc04e67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 11 deletions

View file

@ -14,7 +14,7 @@ class StatusesCleanupController < ApplicationController
if @policy.update(resource_params)
redirect_to statuses_cleanup_path, notice: I18n.t('generic.changes_saved_msg')
else
render action: :show
render :show
end
rescue ActionController::ParameterMissing
# Do nothing