输入banner图图片脚本导航/分类

Laravel5.0url与目录的关系?

访问的url:http://test.runcam.com/download
路由:

Route::get('download', function(){
    return view('download');
});

目录结构

出错:

出现同名的目录,就出现错误了?为什么?

已经百度到答案:https://sosonemo.me/laravel-route-pitfall.html

这个问题已被关闭,原因:

回复内容:

访问的url:http://test.runcam.com/download
路由:

Route::get('download', function(){
    return view('download');
});

目录结构

出错:

出现同名的目录,就出现错误了?为什么?

已经百度到答案:https://sosonemo.me/laravel-route-pitfall.html

那我就不回答了。。