title: Laravel constructor redirect is not working
body: <p>I have a controller with several methods and I need to add a specific authorization check on start of each method. So I thought to put this check in constructor as,</p>
  <pre><code>class AdminController extends BaseController {
  
  public function __construct() {
      $this-&gt;isAuthorized();
  }
  
  protected $layout = &quot;layouts.main&quot;;
  
  private function isAuthorized() {
      if (!Session::get('userId')) {
          echo &quot;inside check&quot;; // checking for debug purpose
          return Redirect::to('login');
      }
  }
  
  /**
   * Admin dashboard view after authentication.
   */
  public function getDashboard() {
      $this-&gt;layout-&gt;content = View::make('admin.dashboard');
  }
  </code></pre>
  <p>}</p>
  <p>It does not work, it just prints the message inside Session check and load the dashboard page rather than redirecting back to login page.</p>
  <p>I have also tried something like this,</p>
  <pre><code> public function getDashboard() {
      $this-&gt;isAuthorized();
      $this-&gt;layout-&gt;content = View::make('admin.dashboard');
  }
  </code></pre>
  <p>When I try to call this method with this weird return statement, then it works</p>
  <pre><code>public function getDashboard() {
      return $this-&gt;isAuthorized();
      $this-&gt;layout-&gt;content = View::make('admin.dashboard');
  }
  </code></pre>
  <p>I get that idea from <a href="https://stackoverflow.com/questions/17926159/laravel-redirection-from-private-method">here</a>. How do I achieve this using constructor method?</p>