diff --git a/app/controllers/seminars_controller.rb b/app/controllers/seminars_controller.rb index 8e7659f..caa4fd8 100644 --- a/app/controllers/seminars_controller.rb +++ b/app/controllers/seminars_controller.rb @@ -433,6 +433,7 @@ class SeminarsController < ApplicationController end def create + OrbitHelper.set_page(nil) referer_url = request.referer if referer_url params[:url] = URI.parse(referer_url).path.sub(/\/[^\/]*$/, '').sub(/^\/#{I18n.locale}/, '') @@ -541,6 +542,11 @@ class SeminarsController < ApplicationController end def update_signup_form + OrbitHelper.set_page(nil) + referer_url = request.referer + if referer_url + params[:url] = URI.parse(referer_url).path.sub(/\/[^\/]*$/, '').sub(/^\/#{I18n.locale}/, '') + end params = OrbitHelper.params tmp_seminar_signup_params = seminar_signup_params @seminar_signup = SeminarSignup.find(params[:signup_id])