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