Skip to content

Commit

Permalink
feat: Updated routes/web.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] committed Mar 11, 2024
1 parent 5f28e88 commit 795be3a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,11 @@



Route::post('/reviews', 'App\Http\Controllers\ReviewController@store')->name('reviews.store');
Route::post('/reviews/approve/{id}', 'App\Http\Controllers\ReviewController@approve')->name('reviews.approve');
Route::get('/products/{product}/reviews', 'App\Http\Controllers\ReviewController@show')->name('reviews.show');
Route::get('/products/{product}/ratings/average', 'App\Http\Controllers\RatingController@calculateAverageRating')->name('ratings.average');




0 comments on commit 795be3a

Please sign in to comment.