public function edit(GalleryRequest $request, Gallery $gallery)
    {
        return $this->response->title(trans('app.edit') . ' ' . trans('gallery::gallery.name'))
            ->view('gallery::gallery.edit', true)
            ->data(compact('gallery'))
            ->output();
    }
public function edit(GalleryRequest $request, Gallery $gallery)
    {
        return $this->response->title(trans('app.edit') . ' ' . trans('gallery::gallery.name'))
            ->view('gallery::gallery.edit', true)
            ->data(compact('gallery'))
            ->output();
    }
public function edit ( GalleryRequest $ request , Gallery $ gallery ) { return $ this -> response -> title ( trans ( 'app.edit' ) . ' ' . trans ( 'gallery::gallery.name' ) ) -> view ( 'gallery::gallery.edit' , true ) -> data ( compact ( 'gallery' ) ) -> output ( ) ; }
Show gallery for editing.

@param Request $request
@param Model   $gallery

@return Response
Show gallery for editing .