App\Http\Controllers\Quarx\GalleryController::show PHP Метод

show() публичный Метод

Display the specified Gallery.
public show ( $tag ) : Response
Результат Response
    public function show($tag)
    {
        $images = $this->imageRepository->getImagesByTag($tag)->paginate(Config::get('quarx.pagination'));
        $tags = $this->imageRepository->allTags();
        if (empty($images)) {
            abort(404);
        }
        return view('quarx-frontend::gallery.show')->with('tags', $tags)->with('images', $images)->with('title', $tag);
    }
GalleryController