No there is no reason - I didn't knew about it.
So if I understand I can do something like that
Configure::write('Routing.prefixes', array('admin'));
Router::connect('/{$prefix}/:controller/:action', array('controller'
=>
"{$prefix}".:controller));
right?
I am new to CakePHP but I've got experience with Rails, Wheels and
Grails. And I was wondering how can I do that.
I want to put admin functionalities into seperate controller. The
system will be quite hughe and I don't want to mix functionalities
from one role to another.
regards
jmail
On 20 Gru, 08:31, Geoff Douglas <[email protected]> wrote:
> Is there a reason you aren't using the prefix_routing functionality?
>
> http://book.cakephp.org/view/950/Prefix-RoutingĀ (1.3)
>
> http://book.cakephp.org/2.0/en/development/routing.html#prefix-routing(2.0)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php