cheers for the notes..

I found it eventually.

Updated to:

<%= link_to_unless_current "Home", :action => "index",
:controller => "site" %> |

this seems to work now... (phew!)

cheers

On 27 Aug, 22:25, JL Smith <autige...@gmail.com> wrote:
> Oh, and the links you posted in the first post don't specify a
> controller so it assumes those actions all belong to the current
> controller which obviously is not the case...so you need to add the
> site controller to the links:
>
> <%= link_to_unless_current "Help", :controller => 'site', :action =>
> 'help' %>
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to