i don’t know if something has changed or if there is something i have
just overlooked.
i set up the restful authentication plugin and all works fine except
for the fact that when i go to a page that requires authentication, i
am not redirected to /sessions/new instead of /login.
here is what i have in my routes file:
map.login ‘/login’, :controller => ‘sessions’, :action => ‘new’
map.logout ‘/logout’, :controller => ‘sessions’, :action =>
‘destroy’
map.resource :session
when i run rake routes, login and logout are at the top. is there
something that was changed in the way routes are found now? before it
would always use whatever was higher.