2015-10-16 93 views
0

HTTP:在RouteCollection.php线//localhost/laravel.dev/auth/login> bringsup错误NotFoundHttpException 161NotFoundHttpException在RouteCollection.php线161

Route.php

Route::get('auth/login', 'Auth\[email protected]'); 
Route::post('auth/login', 'Auth\[email protected]');  
Route::get('auth/logout', 'Auth\[email protected]'); // Registration routes... 
Route::get('auth/register', 'Auth\[email protected]');  
Route::post('auth/register', 'Auth\[email protected]'); 
Route::controllers([ 'password' => 'Auth\PasswordController', ]); 
+0

您需要在此处添加更多信息,以便我们为您提供帮助。检查[如何问](http://www.stackoverflow.com/help/how-to-ask)。 –

+0

我的route.php loolike – user3358052

+0

Route :: get('auth/login','Auth \ AuthController @ getLogin'); Route :: post('auth/login','Auth \ AuthController @ postLogin'); Route :: get('auth/logout','Auth \ AuthController @ getLogout'); //注册路线... Route :: get('auth/register','Auth \ AuthController @ getRegister'); Route :: post('auth/register','Auth \ AuthController @ postRegister'); Route :: controllers(['password'=>'Auth \ PasswordController', ]); – user3358052

回答

0

这听起来有趣的,但今天我有同样的问题,并发布了一个问题,直到我做了移民php artisan migrate,并意识到它的工作。尝试迁移它可能会有所帮助

相关问题