what's a 'test'?

This commit is contained in:
John Bintz 2012-03-16 11:34:57 -04:00
parent a7e899eb46
commit 32eb3eb401
2 changed files with 6 additions and 4 deletions

View File

@ -12,7 +12,7 @@ module Flowerbox
def inject_into(sprockets)
super
@sprockets.register_engine('.feature', Flowerbox::Delivery::Tilt::FeatureTemplate)
@sprockets.register_engine('.feature', Flowerbox::Tilt::FeatureTemplate)
end
def global_system_files
@ -84,7 +84,9 @@ JS
end
end
module Flowerbox::Delivery::Tilt
autoload :FeatureTemplate, 'flowerbox/delivery/tilt/feature_template'
module Flowerbox
module Tilt
autoload :FeatureTemplate, 'flowerbox/tilt/feature_template'
end
end

View File

@ -1,6 +1,6 @@
require 'tilt'
module Flowerbox::Delivery::Tilt
module Flowerbox::Tilt
class FeatureTemplate < Tilt::Template
self.default_mime_type = 'application/javascript'