Support the ongoing development of Laravel.io →
posted 2 years ago
Blade
Last updated by @tvbeek 1 year ago.
0
moderator

Hello @marketopiateam

You load this view somewhere but it didn't get the $roles variable.

I suspect you have something like view('myblade'); but you need to give it the $roles variable.
Like: view('myblade')->with('roles', $myListWithRoles);

ps. I have updated your post to have everything in a code block

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.