This commit is contained in:
2017-12-22 09:08:16 +01:00
parent 109f329e93
commit c8259b0dcf
10 changed files with 135 additions and 6 deletions
+5 -1
View File
@@ -12,7 +12,11 @@ class Main extends MY_Controller {
{
if( AUTHENTICATED == FALSE ) return $this->showLoginPage();
$this->load->view('main_view');
$pages = Page::getPages();
$this->json($pages->toArray());
//$this->load->view('main_view');
}
private function showLoginPage()