Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension fallback #119

Open
ocadaruma opened this issue Sep 3, 2016 · 0 comments
Open

Extension fallback #119

ocadaruma opened this issue Sep 3, 2016 · 0 comments

Comments

@ocadaruma
Copy link

I think it is useful to add extension fallback feature to SbtTwirl.
It will work as follows.

  • If you have set formatFallback: SettingKey[Option[String]] and template's extension does not match any in templateFormats, then formatFallback will be used.
    (formatFallback will be Some("play.twirl.api.TxtFormat"))
ocadaruma added a commit to ocadaruma/twirl that referenced this issue Sep 3, 2016
ocadaruma added a commit to ocadaruma/twirl that referenced this issue Sep 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants