ok
stupid question found the solution
<%= link_to s.naam, {:action =>
''show'',> :id => s.id} -%> <%= link_to s.achternaam, {:action =>
''show'',
> :id => s.id} -%></li>
Paul Private wrote:> Dears
> I have this link which is working correctly but would like to know if
> it''s possible to create a second link within the same request.
>
> this is the original link <%= link_to s.achternaam, {:action =>
''show'',
> :id => s.id} -%></li> and I would like to have something like
<%> link_to s.naam, s.achternaam, {:action => ''show'',
:id => s.id} -%></li>
> but don''t now how to adapt the action part for this
> thanks for your help
> kind regards
> Paul
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---