Permalink
Browse files

switch back to engine register

  • Loading branch information...
1 parent e0d7969 commit 4abd8cf685357ae773487742ebf895bf4c4abd9f @rdy rdy committed Sep 7, 2011
Showing with 2 additions and 6 deletions.
  1. +2 −6 lib/sprockets/jquery/tmpl/tmpl_processor.rb
@@ -27,10 +27,6 @@ def evaluate(scope, locals, &block)
end
end
end
+
+ register_engine '.tmpl', ::Sprockets::Jquery::Tmpl::TmplProcessor
end
-
-begin
- Rails.application.assets.register_engine '.tmpl', ::Sprockets::Jquery::Tmpl::TmplProcessor
-rescue
-end
-

0 comments on commit 4abd8cf

Please sign in to comment.