이 라우팅 오류는 알고 있지만 내 경로에서 오류를 찾을 수 없습니다.이 오류가 계속 발생하는 이유를 모르겠다 : Symfony Component HttpKernel Exception NotFoundHttpException
// comments
Route::get('/comments', '[email protected]');
이것은 컨트롤러입니다.
/**
* Display a listing of the resource.
* GET /comments
*
* @return Response
*/
public function index()
{
return View::make('comments.create');
}
감사합니다. 그것은 아마 누군가에게 쉬운 15 점입니다.
URL은 무엇입니까? vhost 설치 란 무엇입니까? 너 .htaccess에 뭐가 들었 니?(아파치를 사용한다고 가정) – Maerlyn
desk.dev : 8000/comments – wadeCunningham
컨트롤러의 이름은 무엇입니까? 클래스는 이름'CommentsController'를 가져야하고 파일은 이름'CommentsController.php'을 가져야합니다. –