Files
exchange-2.0/routes/web.php
T
2020-12-07 16:35:00 +08:00

38 lines
1.2 KiB
PHP

<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('', function () {
return view('pages.accounts.authentication.login');
})->name('login');
Route::get('account/registration', function () {
return view('pages.accounts.registration');
})->name('registration');
Route::get('account/registration-step-2', function () {
return view('pages.accounts.registration_step_2');
})->name('registration-step-2');
Route::get('/accounts', function () {
return view('pages.accounts.dashboard');
})->name('account.dashboard');
// Route::get('/company/{id}/importer/dashboard', function ($id) {
// return view('pages.dashboards.importer_profile', ['id' => (int) $id]);
// })->name('dashboard.importer');
Route::get('/company/forwarder/dashboard', function () {
return view('pages.dashboards.forwarder_profile');
})->name('dashboard.forwarder');