Admin section in rails -
What is the correct way to structure an administrator section in a Rail app? I'm not talking about Aeth, but where do I keep admin controller, routing etc.
namespace namespace: administrator resources: projects resources: user # ... end
Controllers generate tracks with controller admin / generated projects
etc.
(In Rail 2, this is map.namespace: Administrator ... termination
and ./spet / generator controller / projects
.) < / P>
Comments
Post a Comment