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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue