middleware issue
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -16,6 +16,8 @@ class Authenticate extends Middleware
|
||||
{
|
||||
if($this->auth->check()) {
|
||||
return route('/');
|
||||
} else {
|
||||
return route('/');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1
resources/views/hauling/display/test.blade.php
Normal file
1
resources/views/hauling/display/test.blade.php
Normal file
@@ -0,0 +1 @@
|
||||
This is a test
|
||||
Reference in New Issue
Block a user