updated logout to url
This commit is contained in:
parent
10128e4817
commit
7e54db4fd4
@ -13,4 +13,8 @@ class DashboardController extends BaseController
|
|||||||
{
|
{
|
||||||
return view('frontend.dashboard');
|
return view('frontend.dashboard');
|
||||||
}
|
}
|
||||||
|
public function test()
|
||||||
|
{
|
||||||
|
return view('frontend.dashboard');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -81,6 +81,7 @@
|
|||||||
<a href="{{ url('/admin') }}">Admin</a>
|
<a href="{{ url('/admin') }}">Admin</a>
|
||||||
@endif
|
@endif
|
||||||
<a href="{{ url('/user/dashboard') }}">Dashboard</a>
|
<a href="{{ url('/user/dashboard') }}">Dashboard</a>
|
||||||
|
<<<<<<< HEAD
|
||||||
<a href="{!! url('/logout') !!}" class="btn btn-default btn-flat"
|
<a href="{!! url('/logout') !!}" class="btn btn-default btn-flat"
|
||||||
onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
|
||||||
Sign out
|
Sign out
|
||||||
@ -88,6 +89,9 @@
|
|||||||
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;">
|
<form id="logout-form" action="{{ url('/logout') }}" method="POST" style="display: none;">
|
||||||
{{ csrf_field() }}
|
{{ csrf_field() }}
|
||||||
</form>
|
</form>
|
||||||
|
=======
|
||||||
|
<a href="{{ url('/logout') }}">Logout</a>
|
||||||
|
>>>>>>> #26.1 test
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user