public function edit($id) { $blog = $this->blogs->findById($id); return $this->responseJson(compact('blog')); }