Initial commit
This commit is contained in:
10
app/Helpers/AuthHelper.php
Normal file
10
app/Helpers/AuthHelper.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
if (!function_exists('get_layout')) {
|
||||
function get_layout()
|
||||
{
|
||||
return Auth::check() ? 'app-layout' : 'guest-layout';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user