namespace Metadata; class Controller_Metadata extends \Controller_Hybrid { public $template = 'twitter'; protected $_errors = array(); public function before() { parent::before(); \Lang::load('metadata', true); } public function action_index() { $data = array(); $this->template->content = \View::forge('metadata/index', $data); } }
namespace Metadata; class Controller_Metadata_Schema extends Controller_Metadata { public function before() { parent::before(); \Lang::load('metadata/schema', true); } public function action_index() { $this->template->content = \View::forge('metadata/schema/index'); } }
return array( '_root_' => 'base/index', // The default route '_404_' => 'base/404', // The main 404 route );
It looks like you're new here. If you want to get involved, click one of these buttons!