api
This commit is contained in:
parent
a3eb767e84
commit
e04ceac80e
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue