public function show($tag)
    {
        $images = $this->repository->getImagesByTag($tag)->paginate(Config::get('cms.pagination'));
        $tags = $this->repository->allTags();

        if (empty($images)) {
            abort(404);
        }

        return view('cms-frontend::gallery.show')
            ->with('tags', $tags)
            ->with('images', $images)
            ->with('title', $tag);
    }
public function show($tag)
    {
        $images = $this->repository->getImagesByTag($tag)->paginate(Config::get('cms.pagination'));
        $tags = $this->repository->allTags();

        if (empty($images)) {
            abort(404);
        }

        return view('cms-frontend::gallery.show')
            ->with('tags', $tags)
            ->with('images', $images)
            ->with('title', $tag);
    }
public function show ( $ tag ) { $ images = $ this -> repository -> getImagesByTag ( $ tag ) -> paginate ( Config :: get ( 'cms.pagination' ) ) ; $ tags = $ this -> repository -> allTags ( ) ; if ( empty ( $ images ) ) { abort ( 404 ) ; } return view ( 'cms-frontend::gallery.show' ) -> with ( 'tags' , $ tags ) -> with ( 'images' , $ images ) -> with ( 'title' , $ tag ) ; }
Display the specified Gallery.

@param string $url

@return Response
Display the specified Gallery .