Question - link_to 2 actions

I have a link_to , to a page that is comprised of a partial and an ajax
that creates a div and form inside that div.
So when the ajax link is clicked the form opens up.

What I want to know is it possible to use the link_to , to get to the

example -
controller: myprofile
action: update
ajax link: create a new outfit

so in <% link_to “my profile”, :controller => :myprofile, :action =>
%> there is an ajax link on that page to “create a new outfit”

somehow I’d like to do <% link_to “my profile”, :controller =>
:action => update, :action => “create_a_new_outfit” %>

This make sense , is it possible ? I’m not interested at this point I
change anything in the controllers.


On 11/3/06, Dark A. [email protected] wrote:

action: update

So the ajax calls on the page are link_to_remote, so if it doesn’t sound
to crazy , somehow i want to link_to to a link_to_remote.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs