index.php (623B)
1 <div class="container"> 2 <h1>DashboardController/index</h1> 3 <div class="box"> 4 5 <!-- echo out the system feedback (error and success messages) --> 6 <?php $this->renderFeedbackMessages(); ?> 7 8 <h3>What happens here ?</h3> 9 <p> 10 This is an area that's only visible for logged in users. Try to log out, an go to /dashboard/ again. You'll 11 be redirected to /index/ as you are not logged in. You can protect a whole section in your app within the 12 according controller by placing <i>Auth::handleLogin();</i> into the constructor. 13 <p> 14 </div> 15 </div>