2015-10-16 100 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,並意識到它的工作。嘗試遷移它可能會有所幫助

相關問題