/** * Show Project * * Find & return project by ID * * @returns Illuminate response (JSON & HTTP code) */ public function show($id) { return $this->pageRepository->show(new Page(), $id, ['sections', 'attachment']); }
/** * Show Project * * Find & return project by ID * * @returns Illuminate response (JSON & HTTP code) */ public function show($id) { return $this->projectRepository->show(new Project(), $id, ['sections', 'tags', 'pages']); }
/** * Show Tag * * Find & return project by ID * * @returns Illuminate response (JSON & HTTP code) */ public function show($id) { return $this->tagRepository->show(new Tag(), $id, ['projects']); }
/** * Show Project * * Find & return project by ID * * @returns Illuminate response (JSON & HTTP code) */ public function show($id) { return $this->restfulRepository->show(new Section(), $id); }