Fix MustacheViewResolver following upstream change

Update MustacheViewResolver following the upstream rename of
`createUrlBasedView` to `createView`.
pull/3596/merge
Phillip Webb 8 years ago
parent 3baca35375
commit 54efc36dd8

@ -68,8 +68,8 @@ public class MustacheViewResolver extends UrlBasedViewResolver {
} }
@Override @Override
protected AbstractUrlBasedView createUrlBasedView(String viewName) { protected AbstractUrlBasedView createView(String viewName) {
MustacheView view = (MustacheView) super.createUrlBasedView(viewName); MustacheView view = (MustacheView) super.createView(viewName);
view.setCompiler(this.compiler); view.setCompiler(this.compiler);
view.setCharset(this.charset); view.setCharset(this.charset);
return view; return view;

Loading…
Cancel
Save