Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add note about MIME types to the FAQ

  • Loading branch information...
commit 52b507f3d856a364aafc1d4dc98ec90e3b62dd3d 1 parent 4e3231d
Aaron Quint authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 views/faq.textile
4 views/faq.textile
Source Rendered
@@ -26,6 +26,10 @@ h4. The route runs, but the template seems to not render properly.
26 26
27 27 Make sure that the template engine plugin (for example Sammy.Mustache) is included in your application and the plugin's JS is included on the page.
28 28
  29 +h4. The app is running, but the template isnt loading, or the browser is throwing an error when its being fetched.
  30 +
  31 +A possible cause of this is that your web server isnt sending an appropriate MIME type for the file. This can happen especially if you're using a template extension like `.template` or `.mustache`. You can add these extensions to your web servers MIME definitions as text/plain or text/html. Another option is to change the engine extension to `.txt` or `.html`. For a more detailed description of this issue see: "":
  32 +
29 33 h3(#browsers). Browsers/Frameworks
30 34
31 35 h4. What browsers does Sammy support?

0 comments on commit 52b507f

Please sign in to comment.
Something went wrong with that request. Please try again.