added some routes

This commit is contained in:
flash 2016-03-09 12:58:08 +01:00
parent 5684be0dfa
commit b2c77b267e
2 changed files with 6 additions and 1 deletions

View file

@ -8,7 +8,7 @@
"issues": "https://github.com/flashwave/sakura/issues"
},
"require": {
"php": ">=5.4.0",
"php": ">=5.5.0",
"ext-curl": "*",
"ext-json": "*",
"twig/twig": "*",

View file

@ -18,6 +18,11 @@ Router::post('/login', 'AuthController@loginPost', 'auth.login');
Router::get('/logout', 'AuthController@logout', 'auth.logout');
Router::get('/register', 'AuthController@registerGet', '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
Router::get('/news', 'MetaController@news', 'news.index');