Beispiel #1
0
 /**
  * Show the tags index page.
  *
  * @return \Response
  */
 public function getIndex()
 {
     $tags = $this->tags->findAll();
     return view('admin.tags.list', compact('tags'));
 }
Beispiel #2
0
 /**
  * Get all the tags to include in the sitemap.
  *
  * @return \Illuminate\Database\Eloquent\Collection|\App\Tag[]
  */
 public function getTags()
 {
     return $this->tags->findAll();
 }