original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Show gallery for editing.
  
  @param Request $request
  @param Model   $gallery
  
  @return Response
docstring_tokens: Show gallery for editing .