Ejemplo n.º 1
0
 /**
  * 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']);
 }
Ejemplo n.º 2
0
 /**
  * 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']);
 }
Ejemplo n.º 3
0
 /**
  * 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']);
 }
Ejemplo n.º 4
0
 /**
  * Show Project
  *
  * Find & return project by ID
  *
  * @returns Illuminate response (JSON & HTTP code)
  */
 public function show($id)
 {
     return $this->restfulRepository->show(new Section(), $id);
 }