pre-horizon

This commit is contained in:
2019-09-28 23:54:46 -05:00
parent 10ad11d956
commit 561d1cf453
11 changed files with 372 additions and 86 deletions

View File

@@ -4,13 +4,21 @@ namespace App\Http\Controllers\Dashboard;
use Illuminate\Http\Request;
//Library
use App\Library\Contracts\ContractHelper;
class DashboardController extends Controller
{
public function __construct() {
$this->middleware('role:Uesr');
$this->middleware('role:User');
}
public function index() {
//Get the current amount of contracts availabe to the corporation for displaying on the dashboard with the relevant
//information such as pickup and destination, jumps, and profit margin.
return redirect('/');
}