Hello ...
I know the routes topic has been through here a couple of times but I
coulndn't find a solution for my problem here.
What I'm looking for is the following:
If I enable admin routing, then /admin/blog/view/1 gets routed to
admin_view() and the view file is at admin_view.html ... which is
something I like cause it nicely keeps the different parts of the site
separated.
For my project I would love to add more admin routes, e.g. /retailer
... they should have retailer_[action] methods and also
retailer_[action].html views
Has anyone found out how to do this? I was fiddling around with
routes->connect, something like
$Route->connect('/:group/:controller/:action/*', array('controller' =>
'{:controller}','action' => '{:group}_{:action}');
but that doesn't seem to work.
Any help appreciated ... thanx
wirtsi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---