Skip to content

Commit

Permalink
tilt 1.x compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed Mar 18, 2015
1 parent 7289ab5 commit aa67f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fast_haml/filter_compilers/tilt_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class TiltBase < Base
include Temple::Utils

def self.render_with_tilt(name, source)
::Tilt.template_for("t.#{name}").new { source }.render
::Tilt["t.#{name}"].new { source }.render
end

protected
Expand Down

0 comments on commit aa67f07

Please sign in to comment.