Remove un-needed action and template options to render in controllers (#28022)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user