public function page($page)
    {
        //set the page
        $this->layout->page = $page;

        //set the layout content and title
        $this->layout->content = view($page);

        return $this->layout;
    }
public function page($page)
    {
        //set the page
        $this->layout->page = $page;

        //set the layout content and title
        $this->layout->content = view($page);

        return $this->layout;
    }
public function page ( $ page ) { //set the page $ this -> layout -> page = $ page ; //set the layout content and title $ this -> layout -> content = view ( $ page ) ; return $ this -> layout ; }
The pages view.

@return Response
The pages view .