Create simple layout for testing
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user