This is just a named route, no more, no less. Nothing built-in, no magic, just a name for the route. That will give you a "/login" route wich points to SessionsController#new (the "new" action in the "sessions" controller)
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
named route new_session not working | 5 | 148 | January 30, 2008 | |
map.resources Q | 0 | 82 | September 24, 2006 | |
routing like user_name.site.pl | 0 | 106 | May 18, 2009 | |
routing ... Mapping... can only get to index | 11 | 486 | September 21, 2010 | |
Admin controller | 0 | 130 | November 11, 2008 |