title: laravel 5 blade how to redirect in blade template
body: <p>I am a newbie in Laravel. I have view (blade template) file and wish to restrict access to this file only to logged in users. I know that this can be done like this...</p>
  
  <pre><code>@if(Auth::check())
  // user is logged in. Display page
  @else
  // Now, user not logged in, how do i redirect to the login page
  @endif
  </code></pre>
  
  <p>Thanks for any help</p>