Skip to content

Instantly share code, notes, and snippets.

@ryross
Created August 5, 2010 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryross/509264 to your computer and use it in GitHub Desktop.
Save ryross/509264 to your computer and use it in GitHub Desktop.
classes/controller/main.php
<?php defined('SYSPATH') or die('No direct script access.');
class Controller_Main extends Controller_Base
{
public function action_index()
{
$this->template->title = "Home";
$this->template->content = View::factory('main/index');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment