Files
exchange-2.0/routes/web.php
T
2020-11-06 15:26:53 +08:00

37 lines
1.1 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('account/password/reset/{token}', function ($token){
return view('pages.accounts.authentication.reset_password',['token' => $token]);
})->name('account.password.reset');
route::get('dashboard/', function (){
return redirect()->route('registration-step-2');
})->name('dashboard');