/** * Admin home * * @return void */ public function index() { $menus = Menu::with('translations')->get(); $this->title['child'] = trans('dashboard::global.Dashboard'); $this->layout->content = View::make('dashboard.admin.dashboard')->with('welcomeMessage', $this->repository->getWelcomeMessage())->withMenus($menus); }