From afc3e7643df359e1f6be94b6ab02c2324ec95b95 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 12 Aug 2017 16:46:05 +0000 Subject: [PATCH] Corrected Uuid Trait Errors --- .gitignore | 3 +++ app/Models/{UuidTrait.php => Uuids.php} | 0 resources/views/errors/401.blade.php | 7 +++++++ resources/views/errors/404.blade.php | 10 ++++++++++ 4 files changed, 20 insertions(+) rename app/Models/{UuidTrait.php => Uuids.php} (100%) create mode 100644 resources/views/errors/401.blade.php create mode 100644 resources/views/errors/404.blade.php diff --git a/.gitignore b/.gitignore index f2387b64..77f4a6ed 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,6 @@ phpvms_next.iml public/info.php local.conf.php + +# Error Logs +error_log diff --git a/app/Models/UuidTrait.php b/app/Models/Uuids.php similarity index 100% rename from app/Models/UuidTrait.php rename to app/Models/Uuids.php diff --git a/resources/views/errors/401.blade.php b/resources/views/errors/401.blade.php new file mode 100644 index 00000000..d4ce8c52 --- /dev/null +++ b/resources/views/errors/401.blade.php @@ -0,0 +1,7 @@ +@extends('layouts.default.app') +@section('content') +
+

Unauthorized

+

Well, this is embarrassing, you are not authorized to access or perform this function. Click here to go back to the home page.

+
+@endsection \ No newline at end of file diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php new file mode 100644 index 00000000..93af0456 --- /dev/null +++ b/resources/views/errors/404.blade.php @@ -0,0 +1,10 @@ +@extends('layouts.default.app') +@section('content') +
+

Page Not Found

+

Well, this is embarrassing, the page you requested does not exist. Click here to go back to the home page. + +{{ $exception->getMessage() }} +

+
+@endsection