15 lines
356 B
PHP
15 lines
356 B
PHP
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
@include('dashboard.layout')
|
|
@if (Auth::check())
|
|
@include($view)
|
|
@else
|
|
<div>{{ session('error') ?? 'You must log in to enter this page.' }}</div>
|
|
<a href="{{ route('login') }}">Login</a>
|
|
@endif
|
|
@endsection
|
|
|
|
@section('content-body')
|
|
@yield('route-content')
|
|
@endsection |