Browse Source

Fixed error redirecting to registration when trying to create a new workshop

development
Godwin 7 years ago
committed by GitHub
parent
commit
c96d8fafbb
  1. 2
      app/controllers/workshops_controller.rb

2
app/controllers/workshops_controller.rb

@ -361,7 +361,7 @@ class WorkshopsController < ApplicationController
@page_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details" @page_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
@main_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Register" @main_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Register"
@main_title_vars = { vars: { title: @this_conference.title } } @main_title_vars = { vars: { title: @this_conference.title } }
render register_path(@this_conference.slug) render 'conferences/register'
end end
end end

Loading…
Cancel
Save