stuff after login

This commit is contained in:
2019-10-12 19:23:52 -05:00
parent a232b45962
commit 1a34782c35
6 changed files with 52 additions and 4 deletions

View File

@@ -3,6 +3,7 @@
namespace App\Http\Controllers\Dashboard;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
//Library
use App\Library\Contracts\ContractHelper;

View File

@@ -23,6 +23,10 @@ class HaulingController extends Controller
* Controller function to display form
*/
public function displayForm() {
if(Auth::check()) {
return redirect('/dashboard');
}
return view('hauling.display.form');
}