the simplest way would be:

<%= link_to "Login", :controller => "/login", :action => "login" %>
 # "/login" rather than just "login"

however if you're using one of the many authentication plugins out 
there, you're more likely to want to add these to your routes:

  map.logout      '/logout',      :controller => 'sessions', :action => 
'destroy'
  map.login       '/login',       :controller => 'sessions', :action => 
'new'

-- 
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].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to