Rails3: My conventions

Home site / Root path

  1. The root path routes to the index action of the home controller.


  1. The default backend is named "admin"
  2. The admin area gets a separte layout in /app/views/layouts/admin.html.erb
  3. Admin controllers extend a controller namend "AdminController"
  4. The admin controller sets the layout