You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PlexShare/fuel/app/classes/controller/season.php

20 lines
399 B

<?php
class Controller_Season extends Controller_Home
{
public function action_index()
{
$season_id = $this->param('season_id');
$season = Model_Season::find_by_pk($season_id);
if(!$season)
Response::redirect('/home');
$body = View::forge('season/index');
$body->set('season', $season);
$this->template->body = $body;
}
}