pre-horizon
This commit is contained in:
@@ -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('/');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user