Changed links to chapters, button to synchronize chapters from courses list, dark mode.

This commit is contained in:
Krzysztof Płaczek
2022-12-07 19:57:57 +01:00
parent 25e28f8193
commit d4d8330d83
7 changed files with 50 additions and 29 deletions

View File

@@ -21,7 +21,7 @@ Route::get('/', [Index::class, 'index']);
Route::prefix('course')->name('course.')->group(function () {
Route::get('/{course}', [CourseController::class, 'index'])->name('index');
Route::get('/{course}/sync', [CourseController::class, 'sync'])->name('sync');
Route::get('/{course}/chapter/{chapter}', [ChapterController::class, 'index'])->name('chapter');
});
Route::get('/chapter/{chapter}', [ChapterController::class, 'index'])->name('course.chapter');