title: How to use authorization in lumen
body: <p>I followed this docs.
  <a href="https://lumen.laravel.com/docs/5.5/authorization" rel="nofollow noreferrer">https://lumen.laravel.com/docs/5.5/authorization</a></p>
  <p>Actually I dont know where to define the Gate
  in <code>register()</code> or in <code>boot()</code> function</p>
  <p>After that also it say: <code>Class 'App\Providers\Gate' not found</code>
  And what is the correct one in 3 of these?</p>
  <blockquote>
  <p>Illuminate\Auth\Access\Gate</p>
  <p>Illuminate\Support\Facades\Gate</p>
  <p>Illuminate\Contracts\Auth\Access\Gate</p>
  </blockquote>
  <p>For the 'Checking Abilities', the docs said :
  <code>if (Gate::allows('update-post', $post)) {</code></p>
  <p>But I cannot use that in my route file.
  The question here is how to use gate in route?</p>
  <p>Please support me. I'm new with this.
  Thanks.</p>