/** * Get the main admin view. * * @return \Illuminate\View\View */ public function index() { return View::make('cabinet::admin.index')->with('posts', $this->posts->all())->with('users', $this->user->all())->with('user', \Auth::user())->with('locale', $this->loadLanguage()); }