package com.google.tripmeout.frontend.servlet;

import com.google.inject.servlet.ServletModule;

/**
 * A {@link ServletModule} configured to serve SPS application paths.
 * @see https://github.com/google/guice/wiki/ServletModule
 */
public class ServletsModule extends ServletModule {
  @Override
  protected void configureServlets() {
    // TO-DO: uncomment once servlet is implemented
    // serve("/trips/*/placeVisits/*").with(PlaceIndividualServlet.class);
    // serve("/trips/*/placeVisits").with(PlaceParentServlet.class);
    // serve("/trips/*").with(TripIndividualServlet.class);
    serve("/trips").with(TripParentServlet.class);
  }
}
@@ -389,32 +389,36 @@
 %0A    // serve(%22/
+api/
 trips/*/placeVis
@@ -472,24 +472,28 @@
  // serve(%22/
+api/
 trips/*/plac
@@ -545,24 +545,28 @@
  // serve(%22/
+api/
 trips/*%22).wi
@@ -610,16 +610,20 @@
 serve(%22/
+api/
 trips%22).

fix paths for servlets module config