/** * Display a listing of the resource. * * @return Response */ public function index() { return (string) $this->users->all(); }
/** * Get the main admin view. */ public function index() { return View::make('core::admin.index')->with('users', $this->users->all())->with('user', $this->auth->user())->with('locale', $this->loadLanguage()); }
/** * Get the main admin view. */ public function getIndex() { return View::make('admin.index')->with('users', $this->users->all())->with('user', Auth::user())->with('locale', $this->loadLanguage()); }