Hi all,
I’ve got a view named "prompt.rhtml"and a controller named “customer”
with some actions (“prompt”, “getdata”, and so on…). Of course, the
URL “/customer/prompt” is associated to the action “prompt” and then
to the view “prompt.rhtml”, but is it possible to associate the action
“getdata” with the view “prompt.rhtml”? If so, how can I do this?
What? No you don’t. It just runs the getdata action and renders the
view that corresponds to the action named “prompt.” It doesn’t run
that other action. Anyway, I also showed you another way with render
:template.
Pat
Also I just noticed this is on rubytalk…you should direct any Rails
messages to the rails mailing list.
What? No you don’t. It just runs the getdata action and renders the
view that corresponds to the action named “prompt.” It doesn’t run
that other action. Anyway, I also showed you another way with render
:template.
Pat
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.