I’m working on an auctions site My app doesn’t yet have a user dashboard so I’m thinking app/views/user/dashboard or app/views/user/admin and same thing for controllers would be named dashboard_controller or admin_controller Is that good convention I was thinking there’s probably gems too I know this isn’t a rails question but this is a big step in designing my site I’d like to get it right the first time Previously on other sites, I used the above described strategy
If your application is pure Rails, I would advise doing the approach you already mentioned, just a DashboardController with an index/show action would suffice. However, I think that the pure MVC architecture is usually not good enough when developing dashboards. The more components you have in the screen, the more resources you will have to handle in your controller which can compromise the controller’s readability.
Hope it helps.