Remove un-needed action
and template
options to render
in controllers (#28022)
This commit is contained in:
parent
a1636fce7f
commit
291dc04e67
8 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue