I’m using shortcuts for login, logout etc. in routes.rb, for example:
map.login ‘login’, :controller => ‘session’, :action => ‘new’
When I access http://localhost:3000/login I get following exception:
ActionController::MethodNotAllowed
Only get, head, post, put, and delete requests are allowed.
Does anyone know what’s wrong there? I’m using 2.1.0 btw.