public function index(Page $page)
    {
        save_resource_url();

        $page->load('sections');

        return $this->view('titan::pages.components.page_components')->with('page', $page);
    }
public function index(Page $page)
    {
        save_resource_url();

        $page->load('sections');

        return $this->view('titan::pages.components.page_components')->with('page', $page);
    }
public function index ( Page $ page ) { save_resource_url ( ) ; $ page -> load ( 'sections' ) ; return $ this -> view ( 'titan::pages.components.page_components' ) -> with ( 'page' , $ page ) ; }
Display a listing of content.

@param Page $page
@return Response
Display a listing of content .