public function show()
    {
        $params = static::$router->current()->parameters();
        $id     = Arr::get($params, 'id');
        $slug   = Arr::get($params, 'slug');

        $page = $this->getRequestedContent($id, $slug);
        $id   = $page->getAttribute('id');
        $slug = $page->getAttribute('slug');

        set_meta('title', $page->getAttribute('title'));

        return $this->getResponse($page, $id, $slug);
    }
public function show()
    {
        $params = static::$router->current()->parameters();
        $id     = Arr::get($params, 'id');
        $slug   = Arr::get($params, 'slug');

        $page = $this->getRequestedContent($id, $slug);
        $id   = $page->getAttribute('id');
        $slug = $page->getAttribute('slug');

        set_meta('title', $page->getAttribute('title'));

        return $this->getResponse($page, $id, $slug);
    }
public function show ( ) { $ params = static :: $ router -> current ( ) -> parameters ( ) ; $ id = Arr :: get ( $ params , 'id' ) ; $ slug = Arr :: get ( $ params , 'slug' ) ; $ page = $ this -> getRequestedContent ( $ id , $ slug ) ; $ id = $ page -> getAttribute ( 'id' ) ; $ slug = $ page -> getAttribute ( 'slug' ) ; set_meta ( 'title' , $ page -> getAttribute ( 'title' ) ) ; return $ this -> getResponse ( $ page , $ id , $ slug ) ; }
Show the content.

@return mixed
Show the content .