Sha256: e41dc35b9ec6115651383b0cff67c1962373af88e920a5596e8561174c403201

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

module Hca
  class Engine < Rails::Engine
    isolate_namespace Hca

    initializer 'hca.environment', after: 'sprockets.environment', group: :all do |app|
      next unless app.assets
      require 'hca/template'
      app.assets.register_engine '.hca', Hca::Template
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hca-0.1.0 lib/hca/engine.rb