I am newbie to cakephp. 
Currently working on localhost and have url as below 

http://localhost/test/admin/Users

but wants it to be 

http://localhost/test/Users


Note Condition: 
when not login 
http://localhost/test/Users
should work with index.ctp 
when login 
http://localhost/test/Users
should work with admin_index.ctp 

Router<http://cakephp.1045679.n5.nabble.com/admin-users-to-users-routes-td5641812.html#>::connect('/admin/users',
 
array( 'controller'=>'Users','action' => 'index','profile')); 

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to