I'm sending a url via email so a user can activate their account. Like so: http://domain.com/confirm_email/f039a41a580735384c... 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 => 'confirm_email' 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.
on 2007-04-07 03:10
on 2007-04-07 03:15
NEVERMIND ;O I was testing locally and forgot to reset my hosts file. Doh!