thats exaclty why im gettin confused. here are two link from the application.rhtml:
<%= link_to "Invite Friends", :controller=>'tellyourfriends', :action=>'new' if logged_in? %> <%= link_to_unless_current 'Browse Categories', :controller=>'categories', :action=>'index' here the routes: map.namespace :admin do |admin| admin.resources :categories end map.resources :categories is there somethign wrong here? thx for ur time! i appreciate it tom On Thu, Oct 21, 2010 at 1:29 PM, Luis Saffie <[email protected]> wrote: > Can you post your link_to code? > > If you have something like > link_to projects_path > > it shouldn't pick the the route from admin > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

