public function dispatch($path) { // $type = new ContentType('missionary'); // $type->updateColumns(); $page = Page::forURI($this->uri(TRUE)); if ($page) { $this->layout = $page->render(); } else { $this->layout = FALSE; echo "404'd"; } }