Rails3: My conventions
Donnerstag, 30. Juni 2011, 09:02 Uhr | roberto@vasquez-angel.de |Home site / Root path
- The root path routes to the index action of the home controller.
Backend
- The default backend is named “admin”
- The admin area gets a separte layout in /app/views/layouts/admin.html.erb
- Admin controllers extend a controller namend “AdminController”
- The admin controller sets the layout