|
189 | 189 | [StaticPageController::class, 'static'] |
190 | 190 | )->name('training.module-18'); |
191 | 191 |
|
| 192 | +Route::get( |
| 193 | + '/training/creative-scratch-laboratory', |
| 194 | + [StaticPageController::class, 'static'] |
| 195 | +)->name('training.module-19'); |
| 196 | + |
| 197 | +Route::get( |
| 198 | + '/training/code-through-art', |
| 199 | + [StaticPageController::class, 'static'] |
| 200 | +)->name('training.module-20'); |
| 201 | + |
| 202 | +Route::get( |
| 203 | + '/training/making-and-coding', |
| 204 | + [StaticPageController::class, 'static'] |
| 205 | +)->name('training.module-21'); |
| 206 | + |
192 | 207 | Route::get('/resources/CodingAtHome', [CodingAtHomeController::class, 'show'])->name( |
193 | 208 | 'coding@home' |
194 | 209 | ); |
|
353 | 368 |
|
354 | 369 | Route::get('participation', [ParticipationController::class, 'show']) |
355 | 370 | ->name('participation') |
356 | | - ->middleware(['auth','verified']); |
357 | | -Route::post('participation', [ParticipationController::class, 'generate']) |
358 | | - ->name('participation_submit') |
359 | | - ->middleware('auth'); |
| 371 | + ->middleware(['auth']); |
| 372 | + |
| 373 | +Route::get('/profile', function () { |
| 374 | + $data = ['profileUser' => Auth()->user()]; |
| 375 | + return view('profile', $data); |
| 376 | +}) |
| 377 | + ->name('profile') |
| 378 | + ->middleware(['auth']); |
360 | 379 |
|
361 | 380 | //Route::get('participation/test', 'ParticipationController@test'); |
362 | 381 |
|
|
0 commit comments