|
|
@ -11,11 +11,15 @@ class Controller_Season extends Controller_Home
|
|
|
|
if(!$season)
|
|
|
|
if(!$season)
|
|
|
|
Response::redirect('/home');
|
|
|
|
Response::redirect('/home');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$seasons = $season->getTvShow()->getSeasons();
|
|
|
|
|
|
|
|
|
|
|
|
$this->template->title = $season->getTvShow()->title . ' S' . $season->number;
|
|
|
|
$this->template->title = $season->getTvShow()->title . ' S' . $season->number;
|
|
|
|
|
|
|
|
|
|
|
|
$body = View::forge('season/index');
|
|
|
|
$body = View::forge('season/index');
|
|
|
|
|
|
|
|
|
|
|
|
$body->set('season', $season);
|
|
|
|
$body->set('season', $season);
|
|
|
|
|
|
|
|
$body->set('seasons', $seasons);
|
|
|
|
|
|
|
|
|
|
|
|
$this->template->body = $body;
|
|
|
|
$this->template->body = $body;
|
|
|
|
}
|
|
|
|
}
|
|
|
|