Help me to understand routing in cakephp 2.7.11

behavior

#1

here is my link where it will go
<li <?php if ((($this->params['action'] == "admin_index" || $this->params['action'] == "admin_view" || $this->params['action'] == "admin_edit") && $this->params['controller'] == "users")) { ?>class=“active” <?php } ?>>Manage Users

here is my config>routing
Router::connect(’/admin’, array(‘controller’ => ‘admins’, ‘action’ => ‘login’, ‘prefix’=>‘admin’, ‘admin’ => true));
Router::connect(’/’, array(‘controller’ => ‘users’, ‘action’ => ‘index’));


#2

Don’t understand the question, can you explain a bit more?
https://book.cakephp.org/2.0/en/development/routing.html#prefix-routing


#3

i am newbie here in cakephp that why i was having problem now i got understanding with routs in Cakephp