diff --git a/plugins/ahmadfatoni/apigenerator/controllers/api/postsController.php b/plugins/ahmadfatoni/apigenerator/controllers/api/postsController.php index 1e8ea83f1..24f255e83 100644 --- a/plugins/ahmadfatoni/apigenerator/controllers/api/postsController.php +++ b/plugins/ahmadfatoni/apigenerator/controllers/api/postsController.php @@ -34,7 +34,7 @@ class postsController extends Controller return $this->helpers->apiArrayResponseBuilder(200, 'success', $data); } - public function show($id){ + public function show($locale,$id){ $data = $this->Post::with('categories')->find($id);