Skip to content

Instantly share code, notes, and snippets.

@muskie9
Created October 2, 2015 18:24
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 muskie9/ddabbf5259acca3d1e3d to your computer and use it in GitHub Desktop.
Save muskie9/ddabbf5259acca3d1e3d to your computer and use it in GitHub Desktop.
<?php
class MyPage extends Page{
}
class MyPage_Controller extends Page_Controller{
private static $allowed_actions = array();
public function init(){
parent::init();
}
public function index(){
return $this->renderWith(array('MyOtherTemplate', 'MyPage', 'Page'))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment