Rails "resources" and RESTful routes
Using resources :controller_name
automatically adds a full suite of RESTful routes.
For more limited scope controllers (like a login controller), you can use rails generate controller ControllerName new
and it adds views as well.