diff --git a/app/Http/Controllers/Hauling/HaulingController.php b/app/Http/Controllers/Hauling/HaulingController.php index 68d9bca..eac044c 100644 --- a/app/Http/Controllers/Hauling/HaulingController.php +++ b/app/Http/Controllers/Hauling/HaulingController.php @@ -23,7 +23,7 @@ class HaulingController extends Controller * Controller function to display form */ public function displayForm() { - return view('hauling.display.form'); + return view('hauling.display.test'); } /** diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index b984bf2..e550d9c 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -16,6 +16,8 @@ class Authenticate extends Middleware { if($this->auth->check()) { return route('/'); + } else { + return route('/'); } } } diff --git a/resources/views/hauling/display/test.blade.php b/resources/views/hauling/display/test.blade.php new file mode 100644 index 0000000..793aa68 --- /dev/null +++ b/resources/views/hauling/display/test.blade.php @@ -0,0 +1 @@ +This is a test \ No newline at end of file