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

@ -11,7 +11,7 @@ class Disputes::AppealsController < Disputes::BaseController
redirect_to disputes_strike_path(@strike), notice: I18n.t('disputes.strikes.appealed_msg')
rescue ActiveRecord::RecordInvalid => e
@appeal = e.record
render template: 'disputes/strikes/show'
render 'disputes/strikes/show'
end
private