Пример #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     return (string) $this->users->all();
 }
Пример #2
0
 /**
  * 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());
 }
Пример #3
0
 /**
  * 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());
 }