Skip to content

Commit

Permalink
removes error flash messages, per changes in issue #154
Browse files Browse the repository at this point in the history
  • Loading branch information
hilarysk committed May 8, 2024
1 parent 887976f commit e1f72f1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/controllers/submissions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def create
else
@proposal = @submission.proposal
@events = Event.all.order('name ASC')
flash[:alert] = 'Failed to create submission; please check for errors.'

render 'new'
end
Expand All @@ -30,8 +29,6 @@ def update
if verify_recaptcha(model: @submission) && @submission.update(submission_params)
redirect_to proposal_path(@proposal)
else
flash[:alert] = 'Failed to update submission; please check for errors.'

render 'edit'
end
end
Expand Down

0 comments on commit e1f72f1

Please sign in to comment.