I’m sending a url via email so a user can activate their account.
This should map to a method in controller ‘login’, with the action
‘confirm_email’ which expects the param ‘code’.
I configured my routes file like so:
map.connect ‘confirm_email/:code’, :controller => ‘login’, :action =>
But when I hit that url I get a 404, with no activity in the log file.
It’s not even making it to the action (or controller).
I’m not sure where I’ve gone wrong in my understanding of routes.
Any help appreciated.