laravel安装完成之后,访问控制器homecontroller,index方法url该怎么写,routes.php中写了route::get('home','homecontroller@index'),项目根目录:http://localhost/lara/public/index.php
回复内容:
laravel安装完成之后,访问控制器homecontroller,index方法url该怎么写,routes.php中写了route::get('home','homecontroller@index'),项目根目录:http://localhost/lara/public/index.php
已经写了,那就访问:http://localhost/lara/public/home
Route::get('/', 'HomeController@index');










