2
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
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