Merge pull request #24011 from dsyer

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

Closes gh-24011
pull/24020/head
Andy Wilkinson 4 years ago
commit 07d92373df

@ -75,4 +75,9 @@ public class MustacheViewResolver extends AbstractTemplateViewResolver {
return view; return view;
} }
@Override
protected AbstractUrlBasedView instantiateView() {
return (getViewClass() == MustacheView.class) ? new MustacheView() : super.instantiateView();
}
} }

Loading…
Cancel
Save