added some routes
This commit is contained in:
parent
5684be0dfa
commit
b2c77b267e
2 changed files with 6 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
"issues": "https://github.com/flashwave/sakura/issues"
|
"issues": "https://github.com/flashwave/sakura/issues"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.4.0",
|
"php": ">=5.5.0",
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"ext-json": "*",
|
"ext-json": "*",
|
||||||
"twig/twig": "*",
|
"twig/twig": "*",
|
||||||
|
|
|
@ -18,6 +18,11 @@ Router::post('/login', 'AuthController@loginPost', 'auth.login');
|
||||||
Router::get('/logout', 'AuthController@logout', 'auth.logout');
|
Router::get('/logout', 'AuthController@logout', 'auth.logout');
|
||||||
Router::get('/register', 'AuthController@registerGet', 'auth.register');
|
Router::get('/register', 'AuthController@registerGet', 'auth.register');
|
||||||
Router::post('/register', 'AuthController@registerPost', 'auth.register');
|
Router::post('/register', 'AuthController@registerPost', 'auth.register');
|
||||||
|
Router::get('/resetpassword', 'AuthController@resetPasswordGet', 'auth.resetpassword');
|
||||||
|
Router::post('/resetpassword', 'AuthController@resetPasswordPost', 'auth.resetpassword');
|
||||||
|
Router::get('/reactivate', 'AuthController@reactivateGet', 'auth.reactivate');
|
||||||
|
Router::post('/reactivate', 'AuthController@reactivatePost', 'auth.reactivate');
|
||||||
|
Router::get('/activate', 'AuthController@activate', 'auth.activate');
|
||||||
|
|
||||||
// News
|
// News
|
||||||
Router::get('/news', 'MetaController@news', 'news.index');
|
Router::get('/news', 'MetaController@news', 'news.index');
|
||||||
|
|
Reference in a new issue