From c057f58b9bb1652ae13b4cb1997fa9e99e52ca50 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Fri, 30 Mar 2018 08:04:18 -0400 Subject: [PATCH] Groundwork --- app/Http/Controllers/PagesController.php | 25 +++++++++++++++++++++++- app/helpers.php | 23 ++++++++++++++++++++++ resources/views/domains.blade.php | 0 resources/views/layouts/master.blade.php | 0 resources/views/newrecord.blade.php | 0 resources/views/updaterecord.blade.php | 0 6 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 app/helpers.php create mode 100644 resources/views/domains.blade.php create mode 100644 resources/views/layouts/master.blade.php create mode 100644 resources/views/newrecord.blade.php create mode 100644 resources/views/updaterecord.blade.php diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index 8a1fa1b..849b278 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -3,8 +3,31 @@ namespace App\Http\Controllers; use Illuminate\Http\Request; +use Illuminate\Support\Facades\DB; +use View; +Use App\helpers; + class PagesController extends Controller { - // + public function home() + { + return view('home'); + } + public function domains(Request $domain_req) + { + + return view('domains'); + } + public function newrecord(Request $newrec_req) + { + + return view('newrecord'); + } + public function updaterecord(Request $updaterec_req) + { + + return view('updaterecord'); + } + } diff --git a/app/helpers.php b/app/helpers.php new file mode 100644 index 0000000..9031f4b --- /dev/null +++ b/app/helpers.php @@ -0,0 +1,23 @@ + diff --git a/resources/views/domains.blade.php b/resources/views/domains.blade.php new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/newrecord.blade.php b/resources/views/newrecord.blade.php new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/updaterecord.blade.php b/resources/views/updaterecord.blade.php new file mode 100644 index 0000000..e69de29