Skip to content

Commit

Permalink
Merge branch 'prod-patch'
Browse files Browse the repository at this point in the history
* prod-patch:
  Load superevents on update/create routes when something errors
  • Loading branch information
cycomachead committed Jul 20, 2024
2 parents 25d6bac + e242485 commit 4223687
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/proposals_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def edit

def create
@url = conference_program_proposals_path(@conference.short_title)
@superevents = @program.events.where(superevent: true)

# We allow proposal submission and sign up on same page.
# If user is not signed in then first create new user and then sign them in
Expand Down Expand Up @@ -80,6 +81,7 @@ def create

def update
@url = conference_program_proposal_path(@conference.short_title, params[:id])
@superevents = @program.events.where(superevent: true)

track = Track.find_by(id: params[:event][:track_id])
if track && !track.cfp_active
Expand Down

0 comments on commit 4223687

Please sign in to comment.