haml/haml — pull request #597 by mattwildig (2012-10-05 20:31:24+00:00)
Title: Use type instead of mime_type in plugin.rb

Fix for #589. Looks simple enough, but could do with a look over in case there’s something I’ve missed with the Rails intergration.

Template#mime_type method is deprecated in Rails 4.

Use Template#type in template/plugin.rb if it's available.