public function getDashboard() { $options = array('guest' => Guest::count(), 'bookings' => Bookings::count(), 'rooms' => Room::count(), 'service' => Services::count(), 'data' => Bookings::orderBy('id', 'desc')->paginate(10)); $view = View::make('home/dashboard', array())->nest('content', 'home/home', $options); return $view; }