Make URLs more verbose

This commit is contained in:
Toby Zerner 2017-11-29 12:53:39 +10:30
parent 9392e1bec3
commit a065c8e6f5

View File

@ -114,19 +114,19 @@ class ForumServiceProvider extends AbstractServiceProvider
); );
$routes->get( $routes->get(
'/confirm/{token}', '/confirm-email/{token}',
'confirmEmail', 'confirmEmail',
$route->toController(Controller\ConfirmEmailController::class) $route->toController(Controller\ConfirmEmailController::class)
); );
$routes->get( $routes->get(
'/reset/{token}', '/reset-password/{token}',
'resetPassword', 'resetPassword',
$route->toController(Controller\ResetPasswordController::class) $route->toController(Controller\ResetPasswordController::class)
); );
$routes->post( $routes->post(
'/reset', '/reset-password',
'savePassword', 'savePassword',
$route->toController(Controller\SavePasswordController::class) $route->toController(Controller\SavePasswordController::class)
); );