Hi,
i'm using this route:
Route::get('/', ['as' => 'home', function () {return view('home');}]);
Inside a blade template i'm using:
<a href="{{ url('home') }}">Home</a>
But this doesn't creates a link to "the root" but to /home
What did i wrong here?
Thank you!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community