Support the ongoing development of Laravel.io →
Installation Views
Last updated 2 years ago.
0

I'm assuming that you are trying to visit the url /banners and getting the error.

The route you have makes a route url of /banners/banners.

Change the Route::get to just '/' instead of '/banners'

Also you can get a route list using php artisan route:list that will show you the routes and where they go, which can be helpful with this type of problem.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

shiva shiva Joined 24 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.