app/imports/api/trip/TripCollection.js
/**
   * Subscription method.
   * It subscribes to the entire collection.
   */
Subscription method.
It subscribes to the entire collection.
Subscription method . It subscribes to the entire collection .
subscribeTripCommunity() {
    if (Meteor.isClient) {
      return Meteor.subscribe(tripPublications.tripCommunity);
    }
    return null;
  }
subscribeTripCommunity ( ) { if ( Meteor . isClient ) { return Meteor . subscribe ( tripPublications . tripCommunity ) ; } return null ; }
Subscription method.
Subscription method .