hypothetical/resources/views/dashboard/elements/menu.blade.php
2016-12-19 21:21:14 -05:00

12 lines
282 B
PHP

@set('menu', [
[ 'Contact', 'contact' ],
[ 'Subscriptions', 'subscriptions' ]
])
@foreach($menu as $menu_item)
<li class="{{ $menu_class }}">
<a href="{{ url('/dashboard/' . $menu_item[1]) }}">
{{ $menu_item[0] }}
</a>
</li>
@endforeach