Hi,
I’ve something wierd in an controller of mine. It’s an wizard
controller, that does some stuff for an advertisement.
The wierd thing is, that some logic is not executed when I go though
the wizard. All views render perfectly, but the logic doesn’t execute.
Like this:
def step 1
#reset session
end
def step2
#check some details of the first form
#works!
end
def step3
#displays an simple form nothing else…
end
def step4
#saves data, works!
end
def step5
#FAILS! doesn’t execute the logic
end
def finish
#FAILS! doesn’t execute…
end
Very strange indeed!!!
How Can I slove this, or were do I need to look?
Ohw yeah, the routes involved look like this:
map.wizard_step1 ‘/wizard_step1’, :controller => ‘wizard’, :action =>
‘step1’
map.wizard_step2 ‘/wizard_step2’, :controller => ‘wizard’, :action =>
‘step2’
map.wizard_step3 ‘/wizard_step3’, :controller => ‘wizard’, :action =>
‘step3’
map.wizard_step4 ‘/wizard_step4’, :controller => ‘wizard’, :action =>
‘step4’
map.wizard_step5 ‘/wizard_step5’, :controller => ‘wizard’, :action =>
‘step5’
map.wizard_finish ‘/wizard_finish’, :controller => ‘wizard’, :action =>
‘finish’
If you could please help me?
–
David W.
blog: http://www.davidakachaos.nl
LinkedIn: http://www.linkedin.com/in/davidakachaos
Hyves: http://davidakachaos.hyves.nl
msn: [email protected]
I never said it was your fault, I said I was going to blame you!!!