Symfony\Component\HttpKernel\Exception\NotFoundHttpException Laravel

前端 未结 9 1416
情话喂你
情话喂你 2020-12-01 04:37

I am trying to use RESTful controller. Here is my Route.php:

Route::resource(\'test\', \'TestController\');
Route::get(\'/\', function()
{
    r         


        
9条回答
  •  南方客
    南方客 (楼主)
    2020-12-01 05:10

    another thing to check is your document root,

    mine was:

    www/var

    and should be:

    www/var/mysite/public

    Another reason why I hate web development

提交回复
热议问题