title: Laravel routes with entrust
body: <p>I try to Entrust in my Laravel code.
  At this moment I have users, permisions and roles.</p>
  
  <p>create admin panel where you want to access the "permissions" == "admin - panel"</p>
  
  <p>I wish it was done by the file routes.php</p>
  
  <p>My files:
  Middleware/EntrustMiddleware.php</p>
  
  <pre><code>class EntrustMiddleware
  {
      /**
       * Handle an incoming request.
       *
       * @param  \Illuminate\Http\Request  $request
       * @param  \Closure  $next
       * @return mixed
       */
      public function handle($request, Closure $next)
      {
          if (!Entrust::can('admin-panel')) {
          return Redirect::to('home');
          }
          return $next($request);
      }
  }
  </code></pre>
  
  <p>routes.php</p>
  
  <pre><code>Route::get('admin-panel', ['middleware' =&gt; ['auth', 'Entrust'], function () {
  
  }]);
  </code></pre>
  
  <p>I have tried many methods , but still does not work. Can anyone suggest how to set file " routes.php " to access the " admin - panel / 'was only when "permissions" == "admin-panel"</p>
  
  <p>--Edit--</p>
  
  <p>When i'm using this method i get error:</p>
  
  <pre><code>Route::group(['middleware' =&gt; ['Entrust']], function () {
      //put your routes here
      Route::get('/admin', 'Admin\AdminController@index');
  });
  </code></pre>
  
  <p>ErrorException in Pipeline.php line 136: call_user_func_array() expects parameter 1 to be a valid callback, class 'Zizaco\Entrust\EntrustFacade' does not have a method 'handle'</p>
  
  <p>--edit2--</p>
  
  <pre><code>['middleware' =&gt; ['permission:NAME']]
  </code></pre>
  
  <p>Now I understand :)</p>
  
  <p>Is Contoller I have to add some extra security or not?</p>