Permalink
Browse files

Update jss_template/railtie.rb

run jss template initialization after "sprockets.environment" for jss_tempaltes
  • Loading branch information...
1 parent 2b5d970 commit 680f3f16603c83acdf6b8617d188bed63de881e8 @strikeroff strikeroff committed Aug 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jss_template/railtie.rb
@@ -3,7 +3,7 @@
module Jss
module Rails
class Railtie < ::Rails::Railtie
- config.before_initialize do
+ initializer "jss_template", :after => "sprockets.environment" do
Sprockets::Engines # force loading
Sprockets.register_engine '.jss', Jss::Template
end

0 comments on commit 680f3f1

Please sign in to comment.