On 11 Nov, 21:53, Pat Maddox <perg... / gmail.com> wrote:
> On Nov 11, 2007 12:35 PM,  <infili... / gmail.com> wrote:
>
> > 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?
>
> > Thanks,
> > Matthew
>
> render :action => "prompt"
>
> or
>
> render :template => "customer/prompt"
>
> Pat


Hi Pat,
if I use

render :action => "prompt"

in "getdata" action, I have:

getdata (action) -> prompt (action) -> prompt (view)

but I'd like to have:

getdata (action) -> prompt (view)

Is it possible?


Thank you,
Matthew