Added total time of a course, marking chapters and courses to sync offline.

This commit is contained in:
Krzysztof Płaczek
2022-09-15 14:35:02 +02:00
parent fc23506f92
commit b158ec6b5d
9 changed files with 43 additions and 14 deletions

View File

@@ -16,6 +16,7 @@ use Illuminate\Support\Facades\Route;
Route::get('/download', [\App\Http\Controllers\Index::class, 'download']);
Route::get('/', [\App\Http\Controllers\Index::class, 'index']);
Route::get('/course/{course}', [\App\Http\Controllers\CourseController::class, 'index'])->name('course.index');
Route::get('/course/{course}/sync', [\App\Http\Controllers\CourseController::class, 'sync'])->name('course.sync');
Route::get('/chapter/{chapter}', [\App\Http\Controllers\CourseController::class, 'chapter'])->name('course.chapter');