Workshop test.

This commit is contained in:
Godwin
2014-07-27 12:46:48 -06:00
parent cfcf41c766
commit c960cb7458
2 changed files with 10 additions and 0 deletions
@@ -394,6 +394,15 @@ class ConferencesController < ApplicationController
{error: false, next_step: params[:cancel] ? 'cancel' : next_step}
end
def workshop_test
set_conference
@register_step = 'new_workshop'
@register_template = 'register_new_workshop'
session[:registration] = {:workshop => [Hash.new]}
session[:registration][:workshop_index] = 0
render 'show'
end
def register
is_post = request.post? || session[:registration_step]
set_conference