Add user page.
This commit is contained in:
parent
ecc35c6fe6
commit
2f215d0b82
5 changed files with 81 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
use App\Http\Controllers\UserController;
|
||||
use App\Http\Controllers\ProfileController;
|
||||
use App\Http\Controllers\CharacterController;
|
||||
use App\Http\Controllers\CharacterProfessionController;
|
||||
|
|
@ -36,6 +37,10 @@ Route::name('auth.')->group(function () {
|
|||
// Public section
|
||||
// ----------------------------
|
||||
|
||||
Route::prefix('user')->name('user.')->group(function() {
|
||||
Route::get('{user}', [UserController::class, 'show'])->name('show');
|
||||
});
|
||||
|
||||
Route::prefix('characters')->name('character.')->group(function() {
|
||||
Route::get('create', [CharacterController::class, 'create'])->name('create');
|
||||
Route::post('create', [CharacterController::class, 'store'])->name('store');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue