/** * Display a listing of the resource. * GET /site\gallery * * @return Response */ public function index() { View::share('title', 'Galériák'); $gallery = Gallery::orderBy('updated_at', 'desc')->select(['id', 'name', 'description', 'updated_at'])->paginate(10); $this->layout->content = View::make('site.gallery.index')->with('galleries', $gallery); }