Hi,
I'm trying to create separate controllers for admin in my application. So far I've got something like this :
"/admin/article/$action?/$id?"(controller:"adminArticle")
"/admin/comment/$action?/$id?"(controller:"adminComment")
And so on for all the admin controllers. I would like to make it simpler, tried :
"/admin/$controller?/$action?/$id?"(controller:"admin" + controller[0].toUpperCase() + controller[1..-1])
and
"/admin/$controller/$action?/$id?"(controller:"admin$controller")
but neither of this solutions worked. Have you any idea how can I make this mappings more dynamic?