/**
  * Display a listing of the vehicles.
  *
  * @return Response
  */
 public function index()
 {
     $limit = Input::get('limit') ?: 5;
     $vehicles = Vehicle::paginate($limit);
     // dd(get_class_methods($lessons));
     $data = ['data' => $this->vehicleTransformer->transformCollection($vehicles->all())];
     return $this->respondWithPagination($vehicles, $data);
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $vehicles = Vehicle::paginate(15);
     return view('camp.vehicles.index', compact('vehicles'));
 }