@inject('pages', 'BruceCms\Pages\Page')

<nav class="nav --main" role="navigation">
	<ul class="nav__list">
		<li class="nav__item">
			<a class="link nav__link" href="{{ url('/') }}">Home</a>
		</li>
		@foreach($pages as $page)
			<li class="nav__item">
				<a class="link nav__link" href="{{ url($page->link) }}">{{ $page->title }}</a>
			</li><!--nav__item-->
		@endforeach
	</ul><!--nav__list-->
</nav><!-- nav-main -->
@inject('pages', 'BruceCms\Pages\Page')

<nav class="nav --main" role="navigation">
	<ul class="nav__list">
		<li class="nav__item">
			<a class="link nav__link" href="{{ url('/') }}">Home</a>
		</li>
		@foreach($pages->unhidden()->get() as $page)
			<li class="nav__item">
				<a class="link nav__link" href="{{ url($page->link) }}">{{ $page->title }}</a>
			</li><!--nav__item-->
		@endforeach
	</ul><!--nav__list-->
</nav><!-- nav-main -->
Update injection in nav view to actually grab the files we want
Update injection in nav view to actually grab the files we want
