lib/linner/template.rb in linner-0.1.1 vs lib/linner/template.rb in linner-0.1.2

- old
+ new

@@ -18,14 +18,14 @@ module Linner class Template class << self def template_for_script?(path) - [Tilt::JavascriptTemplate, Tilt::CoffeeScriptTemplate].include? Tilt[path] + Tilt[path].default_mime_type == "application/javascript" end def template_for_style?(path) - [Tilt::CSSTemplate, Tilt::SassTemplate, Tilt::ScssTemplate].include? Tilt[path] + Tilt[path].default_mime_type == "text/css" end end end end