Skip to content

Instantly share code, notes, and snippets.

@Sarav-S
Created June 2, 2016 20:33
Show Gist options
  • Save Sarav-S/7f0823b3aa64c36c873acbfcc5c6c986 to your computer and use it in GitHub Desktop.
Save Sarav-S/7f0823b3aa64c36c873acbfcc5c6c986 to your computer and use it in GitHub Desktop.
// Authentication Routes...
$this->get('login', 'Auth\AuthController@showLoginForm');
$this->post('login', 'Auth\AuthController@login');
$this->get('logout', 'Auth\AuthController@logout');
// Registration Routes...
$this->get('register', 'Auth\AuthController@showRegistrationForm');
$this->post('register', 'Auth\AuthController@register');
// Password Reset Routes...
$this->get('password/reset/{token?}', 'Auth\PasswordController@showResetForm');
$this->post('password/email', 'Auth\PasswordController@sendResetLinkEmail');
$this->post('password/reset', 'Auth\PasswordController@reset');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment