atkrad
atkrad

Reputation: 126

How do I setup admin routes in CakePHP?

this code (http://bin.cakephp.org/view/172084837) is added to routes.php to connect from "/admin/pages/add" to "/admin/posts/add", but this error is occured: PagesController could not be found.

Upvotes: 2

Views: 93

Answers (1)

Arun Jain
Arun Jain

Reputation: 5464

Enable Admin Area from app/Config/core.php

Routing.prefixes = array('admin', 'manager');

I hope this will work for you.

Upvotes: 1

Related Questions