Skip to content

Commit

Permalink
Added option for headers in navigation menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
landjea committed Jan 27, 2016
1 parent 943321a commit 64e6d32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Views/layouts/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
@forelse($nav_menu['links'] as $navlink)
@if ($navlink == 'separator')
<li role="separator" class="divider"></li>
@elseif ($navlink['route'] === 'header')
<li class="text-muted text-center"><i class="{{ $navlink['class'] }}"></i> {{ $navlink['title'] }}</li>
@else
<li><a href="{{ route($navlink['route']) }}"><i class="{{ $navlink['class'] }}"></i> {{ $navlink['title'] }}</a></li>
@endif
Expand Down

0 comments on commit 64e6d32

Please sign in to comment.