Create simple layout for testing

This commit is contained in:
Eike Foken
2011-04-16 18:39:29 +02:00
parent cd405f8543
commit 1bb3832ecc
3 changed files with 124 additions and 0 deletions

View File

@@ -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 */