diff --git a/application/controllers/auth.php b/application/controllers/auth.php index 7fa3275..311c8d4 100755 --- a/application/controllers/auth.php +++ b/application/controllers/auth.php @@ -11,6 +11,13 @@ class Auth extends CI_Controller { * Shows the index page. */ public function index() { + $this->load->view('index'); + } + + /** + * Shows the index page. + */ + public function login() { $this->load->view('auth/login'); } @@ -20,6 +27,13 @@ class Auth extends CI_Controller { public function do_login() { echo "{success: true}"; } + + /** + * Logs the user out. + */ + public function do_logout() { + echo "{success: true}"; + } } /* End of file auth.php */ diff --git a/application/views/header.php b/application/views/header.php index 7b8f53a..6ee7b53 100644 --- a/application/views/header.php +++ b/application/views/header.php @@ -3,6 +3,7 @@