Get rid of withnav layout

This commit is contained in:
Ben Ramey
2017-11-04 19:15:01 -06:00
parent 3813ffc95e
commit 7a962120c2
4 changed files with 4 additions and 13 deletions

View File

@@ -24,11 +24,7 @@
<!-- Right Side Of Navbar -->
<ul class="nav navbar-nav navbar-right">
<!-- Authentication Links -->
@guest
<li><a href="{{ route('login') }}">Login</a></li>
<li><a href="{{ route('register') }}">Register</a></li>
@else
@auth
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true">
{{ Auth::user()->name }} <span class="caret"></span>
@@ -48,7 +44,7 @@
</li>
</ul>
</li>
@endguest
@endauth
</ul>
</div>
</div>

View File

@@ -1,4 +1,4 @@
@extends('layouts.withnav')
@extends('layouts.app')
@section('content')

View File

@@ -15,7 +15,7 @@
</head>
<body>
<div id="app">
@yield('nav')
@include('_nav')
<div class='container'>
@yield('content')
</div>

View File

@@ -1,5 +0,0 @@
@extends('layouts.app')
@section('nav')
@include('_nav')
@endsection