Closed robertnicjoo closed 5 years ago
@robertnicjoo I believe you are asking about how to get this into a Blade template?
Yes, looking for simple variable just like we have {!! $menu !!}
for admin, same thing for blade instead of looping them. Is there a way to do that?
Hi,
How do I get menu in front-end?
I mean when I use
I will get
public function buildMenu($menu, $parentid = 0)
from model which is include edit,delete buttons etc. at this point i only need to get menu items in order to show in navbar to users, what should i do?Thanks.