Skip to content

Commit

Permalink
fix: remove redundant api
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jul 12, 2024
1 parent 4ed078a commit 060ea76
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions routes/blog-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,4 @@
Route::get('filters', [PostController::class, 'getFilters']);

Check failure on line 26 in routes/blog-api.php

View workflow job for this annotation

GitHub Actions / PHPStan - P8.2

Class Botble\Blog\Http\Controllers\API\PostController not found.

Check failure on line 26 in routes/blog-api.php

View workflow job for this annotation

GitHub Actions / PHPStan - P8.3

Class Botble\Blog\Http\Controllers\API\PostController not found.
Route::get('{slug}', [PostController::class, 'findBySlug']);

Check failure on line 27 in routes/blog-api.php

View workflow job for this annotation

GitHub Actions / PHPStan - P8.2

Class Botble\Blog\Http\Controllers\API\PostController not found.

Check failure on line 27 in routes/blog-api.php

View workflow job for this annotation

GitHub Actions / PHPStan - P8.3

Class Botble\Blog\Http\Controllers\API\PostController not found.
});
Route::get('posts', [PostController::class, 'index']);

Route::get('posts/filters', [PostController::class, 'getFilters']);
Route::get('posts/{slug}', [PostController::class, 'findBySlug']);
});

0 comments on commit 060ea76

Please sign in to comment.