From ef3712cd7f0a4ccef324b68a4e0e078c657d98ab Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 7 Jul 2018 12:42:47 +0200 Subject: Better http error handling --- resources/views/errors/http.blade.php | 5 +++ resources/views/layouts/error.blade.php | 57 +++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 resources/views/errors/http.blade.php create mode 100644 resources/views/layouts/error.blade.php (limited to 'resources') diff --git a/resources/views/errors/http.blade.php b/resources/views/errors/http.blade.php new file mode 100644 index 0000000..a05a725 --- /dev/null +++ b/resources/views/errors/http.blade.php @@ -0,0 +1,5 @@ +@extends('layouts.error') + +@section('title', $ErrorMessage) + +@section('message', $ErrorMessage) diff --git a/resources/views/layouts/error.blade.php b/resources/views/layouts/error.blade.php new file mode 100644 index 0000000..27513d0 --- /dev/null +++ b/resources/views/layouts/error.blade.php @@ -0,0 +1,57 @@ + + + + + + + + @yield('title') + + + + + + + + +
+
+
+ @yield('message') +
+
+
+ + -- cgit v1.2.3