/** * Edit the blog. * * /admin/blogs/{id} get * * @param integer $id * * @return \Illuminate\Http\JsonResponse */ public function edit($id) { $blog = $this->blogs->findById($id); return $this->responseJson(compact('blog')); }