Sha256: 162a3deff02ee692da995d78b5a9bcfb8f703cbd4054afac0cffa08604622eb4

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

require 'tilt'
require 'rails/engine'

module Myth
  module Rails
    class Engine < ::Rails::Engine
      initializer 'myth-rails.sprockets_engine', after: 'sprockets.environment', group: :all do |app|
        app.assets.register_engine '.myth', MythTemplate
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
myth-rails-1.0.1 lib/myth/rails/engine.rb