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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -