Posted By

LennieZ on 12/02/10


Tagged

cakephp layout admin routing


Versions (?)

CakePHP admin layout for admin routing


 / Published in: PHP
 

  1. function beforeFilter()
  2. {
  3. if(isset($this->params["prefix"]) && $this->params["prefix"] == "admin")
  4. $this->layout = "admin";
  5. }

Report this snippet  

You need to login to post a comment.