I'm currently having the admin part of one of my apps accessible by pure
username and password + role management checking.
I was planning to add namespaces for it. Then I came accross this (a bit
old but still...):
"Putting Controllers in Namespaces
This is really more trouble than it’s worth. You run into all sorts of
crazy errors if you do this and you’ll be confused and frustrated.
You’ll then ask other people about it and they’ll either blow you off
for using namespaces with controllers or procede to get confused and
frustrated as well. Then you’ll say, “I with I had listened to Kevin and
Chris”. If you want /admin/some_controller as an URL that’s fine. Use
the routing that’s built into rails."
I've used namespaces for admin before and actually it can create
confusion. On the other hand using a common controller with some extra
is_admin? checks can be a bit ugly. I know it all depends on how
different the admin funcionality is.
But is there any opinions/experiences you could share on this issue?