madebymany/sir-trevor-rails — pull request #10 by cloud8421 (2013-08-01 15:04:31+00:00)
Title: Force ERB templates when rendering with helpers.

This pull request hardcodes the file extension when referencing the templates used to render the different content types.

The reason is that this makes possible to render a sir-trevor block even when using different engines, like a JSON view or (in my case) an XML feed written with builder.