简体   繁体   中英

Missing routes after upgrading Laravel 5.1 to 5.2

After I upgraded Laravel from 5.1 to 5.2

php artisan route:list

returns andempty list of routes. Also I got this error:

NotFoundHttpException

The file routes.php is in the app\\Http folder. It seems that the file "routes.php" is not visible at all.

Are you using Route::controller ? Laravel 5.2 deprecated that.

Implicit controller routes using Route::controller have been deprecated. Please use explicit route registration in your routes file. This will likely be extracted into a package.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM