Support the ongoing development of Laravel.io →
posted 2 years ago
Laravel
Last updated 1 year ago.
0

I got it working now. In case anyone else runs into this.

The route definition was wrong:

Route::get('/tijd',[TijdController::class, 'show']);

And there was an error in the controller:

public function show() { return view('tijd',[ 'tijd' => 'test' ]); }

Last updated 2 years ago.
0

You can follow this line and fix it like : Route::get('/tijd', [TijdController::class, "show"]);

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Rob rob-vandam Joined 27 Jul 2021

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.