Ejemplo n.º 1
0
//route to process the form
Route::post('/back_end/userDashboard', array('uses' => 'LoginController@doLogin'));
//route to logout the user
Route::get('logout', array('uses' => 'LoginController@doLogout'));
/*Route::get('/back_end/userDashboard', function()
{
	return View::make('/back_end/userDashboard');

});*/
Route::get('/back_end/userDashboard', array('uses' => 'LoginController@dashboard', 'as' => 'dasboard.dashboard'));
Route::get('/password/remind', function () {
    return View::make('/password/remind');
});
Route::post('/register/register_action', function () {
    $obj = new RegisterController();
    return $obj->store();
});
//creating the reminder form
Route::get('/password/remind', array('uses' => 'PasswordController@remind', 'as' => 'password.remind'));
Route::get('/password/reset', function () {
    return View::make('/password/reset');
});
//sending the request email
Route::post('/password/reset', array('uses' => 'PasswordController@request', 'as' => 'password.request'));
//creating a reset form
Route::get('/password/reset/{token}', array('uses' => 'PasswordController@reset', 'as' => 'password.reset'));
//updating the password
Route::post('password/reset/{token}', array('uses' => 'PasswordController@update', 'as' => 'password.update'));
/*=============================================================*/
/* 			This is the second later of the App(system) which is
/* 			signing up the user to the grand database          */