Files
portal/routes/web.php
T
2020-08-12 04:16:41 +08:00

31 lines
992 B
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/password/reset/{token}', function ($token){
return view('pages.accounts.authentication.reset_password',['token' => $token]);
})->name('account.password.reset');
Route::get('/accounts', function () {
return view('pages.accounts.dashboard');
})->name('account.dashboard');
Route::get('/company/{id}/profile', function ($id) {
return view('pages.companies.importer_profile', ['id' => (int) $id]);
})->name('company.profile');