Commit 07d92373 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #24011 from dsyer

* gh-24011:
  Polish "Align MustacheViewResolver with other similar resolvers"
  Align MustacheViewResolver with other similar resolvers

Closes gh-24011
parents 699f03d5 c722692a
......@@ -75,4 +75,9 @@ public class MustacheViewResolver extends AbstractTemplateViewResolver {
return view;
}
@Override
protected AbstractUrlBasedView instantiateView() {
return (getViewClass() == MustacheView.class) ? new MustacheView() : super.instantiateView();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment