lib/tongo/template.rb in tongo-0.0.1 vs lib/tongo/template.rb in tongo-0.0.2
- old
+ new
@@ -1,7 +1,3 @@
module Tongo
- class Template < Temple::Template
- engine Tongo::Engine
- end
-end
-
-Tilt.register 'tng', Tongo::Template
+ Template = Temple::Templates::Tilt(Tongo::Engine, :register_as => 'tng')
+end
\ No newline at end of file