Sha256: 9debe546781d2e4e81c180b54c21677742d6c7db9fb37a4ca6d5512e22e6703c
Contents?: true
Size: 443 Bytes
Versions: 5
Compression:
Stored size: 443 Bytes
Contents
module ShtRails class Engine < ::Rails::Engine config.before_configuration do |app| app.paths['app/views'] << ShtRails.template_base_path end initializer "sprockets.sht_rails", :after => "sprockets.environment", :group => :all do |app| next unless app.assets app.assets.register_engine(".#{ShtRails.template_extension}", Tilt) app.config.assets.paths << ShtRails.template_base_path end end end
Version data entries
5 entries across 5 versions & 1 rubygems