use of io.dropwizard.views.mustache.MustacheViewRenderer in project microservices by pwillhan.
the class ServiceApplication method initializeViews.
private void initializeViews(final Bootstrap<ServiceConfiguration> bootstrap) {
List<ViewRenderer> viewRenders = new ArrayList<>();
viewRenders.add(new MustacheViewRenderer());
bootstrap.addBundle(new ViewBundle<>(viewRenders));
bootstrap.addBundle(new AssetsBundle("/assets", "/assets"));
}
Aggregations