On 8/28/06, SIX-S <sixs-grSx+0tW+Es@public.gmane.org>
wrote:>
>
> Hi,
> I am trying to link from a home page to other pages and cannot seem to have
> the right syntax\
>
> <td><%= link_to ''person'', :action =>
''list'' %></td>
>
> JIM
>
I think you want
<%= link_to ''People'',
:controller=>''person'', :action =>
''list'' %>
The first argument is the text for the link. Have a look at the RDocs
for link_to_remote.
Max
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---