mirror of
https://github.com/grocy/grocy.git
synced 2026-04-06 21:06:15 +02:00
Error pages: only redirect on 404
This commit is contained in:
parent
b242676488
commit
6bf19f493f
|
|
@ -3,7 +3,6 @@
|
|||
@section('title', $__t('You are not allowed to view this page!'))
|
||||
|
||||
@section('content')
|
||||
<meta http-equiv="refresh" content="5;url=/">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6 text-center">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,14 @@
|
|||
@extends('errors.base')
|
||||
|
||||
@section('title', $__t('Page not found'))
|
||||
@section('content')
|
||||
<meta http-equiv="refresh" content="5;url=/">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
<div>
|
||||
{!! nl2br(e($exception->getTraceAsString())) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
@extends('layout.default')
|
||||
|
||||
@section('content')
|
||||
<meta http-equiv="refresh" content="5;url=/">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-md-6">
|
||||
<h2 class="title">@yield('title')</h2>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user