updated logout to url

This commit is contained in:
PHP-Mods 2017-06-22 00:24:19 +03:00
parent 10128e4817
commit 7e54db4fd4
2 changed files with 8 additions and 0 deletions

View File

@ -13,4 +13,8 @@ class DashboardController extends BaseController
{
return view('frontend.dashboard');
}
public function test()
{
return view('frontend.dashboard');
}
}

View File

@ -81,6 +81,7 @@
<a href="{{ url('/admin') }}">Admin</a>
@endif
<a href="{{ url('/user/dashboard') }}">Dashboard</a>
<<<<<<< HEAD
<a href="{!! url('/logout') !!}" class="btn btn-default btn-flat"
onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
Sign out
@ -88,6 +89,9 @@
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
</form>
=======
<a href="{{ url('/logout') }}">Logout</a>
>>>>>>> #26.1 test
@endif
</div>
@endif