title: Change admin layout in CakePHP
body: <p>I am working in cakephp, and I have the following two lines in my /app/config/routes.php file:</p>
  
  <pre><code>/**
   * ...and setup admin routing
   */
   Router::connect('/admin/:controller/:action/*', array('action' =&gt; null, 'prefix' =&gt; 'admin', 'admin' =&gt; true, 'layout' =&gt; 'admin' ));
  /**
   * ...and set the admin default page
   */
   Router::connect('/admin', array('controller' =&gt; 'profiles', 'action' =&gt; 'index', 'admin' =&gt; true, 'layout' =&gt; 'admin'));
  </code></pre>
  
  <p>I also have a layout at /app/views/layouts/admin.ctp</p>
  
  <p>However, the layout is not changed when I visit admin URLs</p>