title: CakePHP Plugin implementation not routing
body: <p>I am trying to write a plugin for CakePHP (CakePHP 2.2.3) called LinkElement which takes makes it possible to get a url and hand back a rendered element. My example uses an Ajax tabs table (if there are better ways to do this please say).  I cannot get it to load from a URL.</p>
  
  <p>Example:</p>
  
  <p>localhost/LinkElement/Links/</p>
  
  <p>throws:</p>
  
  <pre><code>Error: LinkElementController could not be found.
  
  Error: Create the class LinkElementController below in file: app\Controller\LinkElementController.php
  
  &lt;?php
  class LinkElementController extends AppController { }
  </code></pre>
  
  <p>My layout is as follows:</p>
  
  <pre><code>/app
      /Plugin
          /LinkElement
              /Controller
                  LinkElementAppController.php
                  LinksController.php
              /Model
                  LinkElementAppModel.php
              /View
                  Links/
                      index.ctp
  </code></pre>
  
  <p>LinkElementAppController.php</p>
  
  <pre><code>&lt;?php class LinkElementAppController extends AppController { }
  </code></pre>
  
  <p>LinksController.php</p>
  
  <pre><code>&lt;?php App::uses('LinkElementAppController', 'LinkElement.Controller');
  
  class LinksController extends LinkElementAppController {}
  </code></pre>
  
  <p>LinkElementAppModel.php</p>
  
  <pre><code>&lt;?php class LinkElementAppModel extends AppModel {}
  </code></pre>
  
  <p>Links/index.ctp (just a dummy until I can get the URL working)</p>
  
  <pre><code>&lt;h2&gt;Working&lt;/h2&gt;
  </code></pre>
  
  <p>Also routes.php</p>
  
  <pre><code>CakePlugin::routes();
  CakePlugin::load(array('LinkElement'));
  </code></pre>
  
  <p>I realise that this is probably simple, but I cannot see it right now and looking at other answers is not helping.</p>