Exemplo n.º 1
0
 /**
  * @return string
  */
 public function getUrl()
 {
     return $this->model->getDisplayUrl();
 }
 /**
  * @param ModelConfiguration $model
  * @param Renderable|string  $content
  *
  * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
  */
 public function render(ModelConfiguration $model, $content)
 {
     if ($content instanceof Renderable) {
         $content = $content->render();
     }
     $this->breadcrumbs->add(config('sleeping_owl.title'), null, true);
     $this->setTitle($model->getTitle(), $model->getDisplayUrl());
     $this->template->with('content', $content)->with('model', $model);
 }