Created
August 5, 2010 05:04
-
-
Save ryross/509264 to your computer and use it in GitHub Desktop.
classes/controller/main.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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