/** * Display a listing of the resource. * * @return Response */ public function index() { View::share('title', 'Vezérlőpult'); $this->layout->content = View::make('admin')->with('article', Article::count())->with('event', Event::count())->with('gallery', Gallery::count())->with('page', Page::count()); }