Skip to content

Instantly share code, notes, and snippets.

@alnutile
Created October 6, 2014 10:01
Show Gist options
  • Save alnutile/992731f992e75d53a6b5 to your computer and use it in GitHub Desktop.
Save alnutile/992731f992e75d53a6b5 to your computer and use it in GitHub Desktop.
$router->get('password/remind', [ 'uses' => 'Auth\RemindersController@getRemind', 'as' => 'auth.remind']);
$router->get('password/reset', [ 'uses' => 'Auth\RemindersController@getReset', 'as' => 'auth.remind.post']);
$router->post('password/remind', [ 'uses' => 'Auth\RemindersController@postRemind', 'as' => 'auth.reset']);
$router->post('password/reset', [ 'uses' => 'Auth\RemindersController@postReset', 'as' => 'auth.reset.post']);
$router->get('auth/login', ['uses' => 'Auth\AuthController@getLogin', 'as' => 'auth.login']);
$router->post('auth/login', ['uses' => 'Auth\AuthController@postLogin', 'as' => 'auth.login.post']);
$router->get('auth/logout', ['uses' => 'Auth\AuthController@getLogout', 'as' => 'auth.logout.get']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment