title: Laravel scope active on post show
body: <p>I have scope on model post:</p>
  
  <pre><code>public function scopeActive($query) {
      return $query-&gt;where('active', true);
  }
  </code></pre>
  
  <p>On PostController I have method show:</p>
  
  <pre><code>public function show(Post $post) {
     //
  }
  </code></pre>
  
  <p>How I can attach scope to show method and do <code>abort(404)</code> on not active posts? I need do this globally. If I add global scope, then users can't edit their posts, if post not active.</p>