user landing page
This commit is contained in:
@@ -10,8 +10,9 @@
|
||||
<div class="card-body">
|
||||
<p>{{ trans('errors.message.500') }}</p>
|
||||
|
||||
<a href="{{ url('/') }}" class="btn btn-success header-button-top"><span class="fa fa-tachometer-alt"></span> {{ trans('general.go_to', ['name' => trans_choice('general.dashboards', 1)]) }}</a>
|
||||
@php $landing_page = user() ? route(user()->landing_page) : route('login'); @endphp
|
||||
|
||||
<a href="{{ $landing_page }}" class="btn btn-success header-button-top"><span class="fa fa-tachometer-alt"></span> {{ trans('general.go_to', ['name' => trans_choice('general.dashboards', 1)]) }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user