Development of a web application with an administrator section and a shared section. It seems that having a public controller just for the “index” and “show” is a little redundant. All the suggestions that I read offer a namespace for the admin, and that's fine. I'm just wondering if I should have one controller with an extra action, say "list_public" or something like that.
I'm new to Rails, so maybe nothing just bothers me. I just don't like the idea of having all of these controllers, views, helpers of the same name scattered across all of my project directories.
Does anyone have an understanding of this? Thanks in advance.
source
share