forked from spen/seminar
clean page on OrbitHelper
This commit is contained in:
parent
06bc2b1531
commit
ddb8da9eca
|
@ -433,6 +433,7 @@ class SeminarsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def create
|
def create
|
||||||
|
OrbitHelper.set_page(nil)
|
||||||
referer_url = request.referer
|
referer_url = request.referer
|
||||||
if referer_url
|
if referer_url
|
||||||
params[:url] = URI.parse(referer_url).path.sub(/\/[^\/]*$/, '').sub(/^\/#{I18n.locale}/, '')
|
params[:url] = URI.parse(referer_url).path.sub(/\/[^\/]*$/, '').sub(/^\/#{I18n.locale}/, '')
|
||||||
|
@ -541,6 +542,11 @@ class SeminarsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def update_signup_form
|
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
|
params = OrbitHelper.params
|
||||||
tmp_seminar_signup_params = seminar_signup_params
|
tmp_seminar_signup_params = seminar_signup_params
|
||||||
@seminar_signup = SeminarSignup.find(params[:signup_id])
|
@seminar_signup = SeminarSignup.find(params[:signup_id])
|
||||||
|
|
Loading…
Reference in New Issue