首页 > laravel 5.2的`Route::auth();`包含哪些路由,在哪里可以看到?

laravel 5.2的`Route::auth();`包含哪些路由,在哪里可以看到?

laravel 5.2的Route::auth();包含哪些路由,在哪里可以看到?


@see Illuminate\Routing\Router.php
public function auth()
{
    // 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');
}
【热门文章】
【热门文章】