Skip to content

Commit

Permalink
camping/template: Dont' fail on newer Tilt
Browse files Browse the repository at this point in the history
  • Loading branch information
judofyr committed Oct 3, 2014
1 parent 7dced60 commit 6ca694e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/camping/template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class MissingLibrary < Exception #:nodoc: all

$TILT_CODE = %{
Template = Tilt
include Tilt::CompileSite unless self.options[:dynamic_templates]
}

Camping::S.sub! /autoload\s*:Template\s*,\s*['"]camping\/template['"]/, $TILT_CODE
Expand Down

0 comments on commit 6ca694e

Please sign in to comment.