CakePHP2 created plugin not found
<p>When open page I get error:</p>

<blockquote>
  <p>Plugin Authority could not be found.</p>
  
  <p>Error: An Internal Error Has Occurred.</p>
</blockquote>

<p>I created new plugin under <code>app/Plugin</code> with this structure:</p>

<p><a href="https://i.stack.imgur.com/WFpyy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WFpyy.png" alt="enter image description here"></a></p>

<p>Green color represents newly created files.</p>

<p>I created this plugin the same way all other plugins are made (white directories).
My route to page is: </p>

<pre><code>Router::connect('/authority', array('plugin'=&gt;'Authority', 'controller' =&gt; 'Authority', 'action' =&gt; 'index'));
</code></pre>

<p>My <code>routes.php</code> include this line:</p>

<pre><code>CakePlugin::routes();
</code></pre>

<p>This is example of some other route that is working: </p>

<pre><code>Router::connect('/login', array('plugin' =&gt; 'users','controller' =&gt; 'users', 'action' =&gt; 'login'));
</code></pre>

<p>Here are some other files from the plugin:</p>

<blockquote>
  <p>AuthorityAppController.php</p>
</blockquote>

<pre><code>&lt;?php
class AuthorityAppController extends AppController {

}
</code></pre>

<blockquote>
  <p>AuthorityController.php</p>
</blockquote>

<pre><code>&lt;?php
class AuthorityController extends AuthorityAppController {

  public function index(){

  }

}
</code></pre>

<blockquote>
  <p>AuthorityAppModel.php</p>
</blockquote>

<pre><code>&lt;?php
class AuthorityAppModel extends AppModel {

}
</code></pre>

<p>And this is my bootstrap line of code for activating plugins:</p>

<blockquote>
  <p>bootstrap.php</p>
</blockquote>

<pre><code>CakePlugin::loadAll(array( 'routes' =&gt; true ));
</code></pre>