/** * @param Page $page * @return mixed */ public function content(Page $page) { $sections = $page->layout->sections; $blocks = Block::all(); return View::make('pages::page.content', compact('page', 'sections', 'blocks')); }