thymeleaf / thymeleaf-docs

Thymeleaf documentation
Apache License 2.0
44 stars 54 forks source link

fix API mistake in _The Model Factory_ section #39

Closed destan closed 8 years ago

destan commented 8 years ago

In The Model Factory section, modelFactory.parse expects TemplateData instead of String as the first parameter.

context.getTemplateData().getTemplate() => context.getTemplateData()

danielfernandez commented 8 years ago

You're right. Thanks!