public function action_page() { $this->request->response = View::factory('shindig/page')->bind('page', $page); $slug = $this->request->param('slug'); $page = Sprig::factory('shindig_post')->values(array('slug' => $slug, 'type' => 'page', 'status' => 'publish'))->load(); if (!$page->loaded()) { throw new Shindig_Exception(__('Page ":page" Not Found'), array(':page' => $slug), 404); } }