title: CakePHP admin panel add / edit / view missing controllers
body: <p>I'm working on an adminpanel within CakePHP.</p>
  <p>I have <code>UsersController.php</code> in <code>app/plugins/Users/Controllers/</code></p>
  <p>if I go to <code>{site_url}/admin/users/</code> I get a list of all users. But when I want to add or edit an user with <code>{site_url}/admin/users/add</code> or <code>{site_url}/admin/users/edit/1</code></p>
  <p>I get the following error:</p>
  <blockquote>
  <p>Error: UsersController could not be found.</p>
  <p>Error: Create the class UsersController below in file: app/Controller/UsersController.php</p>
  </blockquote>
  <p>Routers:</p>
  <pre><code>Router::connect('/admin/:controller/:action/*', array(
      'action' =&gt; null, 'prefix' =&gt; 'admin', 'admin' =&gt; true
  )); 
  
  Router::connect('/admin', array('plugin' =&gt; 'Users', 'controller' =&gt; 'users', 'action' =&gt; 'dashboard', 'admin' =&gt; true, 'layout' =&gt; 'admin'));
      
  if ($plugins = App::objects('plugin')) {
      $pluginMatch = implode('|', array_map(array('Inflector', 'underscore'), $plugins));
      Router::connect(
          &quot;/admin/:plugin/:controller/:action/*&quot;,
          array('action' =&gt; null, 'prefix' =&gt; 'admin', 'admin' =&gt; true),
          array('plugin' =&gt; $pluginMatch)
      );
  } 
  </code></pre>