menus icon indicating copy to clipboard operation
menus copied to clipboard

PROPOSAL: Add ability to change menu_ or keep prepend blank

Open ChaosPower opened this issue 8 years ago • 0 comments

This will allow changing of prepended value.

@include('layouts.site-menu', ['items' => $siteMenu->roots()])

or

@include('layouts.site-menu', ['items' => $menuSiteMenu->roots()])

Instead of

@include('layouts.site-menu', ['items' => $menu_siteMenu->roots()])

Now publishes config/menu.php config file

php artisan vendor:publish --tag=caffeinated-menu

Default Config

<?php

return [
    'prepend' => 'menu_'
];

ChaosPower avatar Jun 13 '17 07:06 ChaosPower