Exemplo n.º 1
0
 public function action_index()
 {
     $user = $this->is_logged();
     if ($user === false) {
         return Redirect::to_action('login');
     } else {
         $band = Band::from_id($user->get_id_user_lif());
         return View::make('content.band.index')->with('band', $band);
     }
 }