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