Sha256: 8a42bcb8013e3ac0f63bfa449b2f0339368cc68447da76e2e2b143081126dc47

Contents?: true

Size: 418 Bytes

Versions: 5

Compression:

Stored size: 418 Bytes

Contents

require 'rails/railtie'

module Crystal
  class Railtie < Rails::Railtie
    initializer 'crystalmeta.setup_action_controller' do |app|
      ActiveSupport.on_load :action_controller do
        Crystal.setup_action_controller self
      end
    end

    initializer 'crystalmeta.setup_action_view' do |app|
      ActiveSupport.on_load :action_view do
        Crystal.setup_action_view self
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
crystalmeta-0.9.4 lib/crystal/railtie.rb
crystalmeta-0.9.3 lib/crystal/railtie.rb
crystalmeta-0.9.2 lib/crystal/railtie.rb
crystalmeta-0.9.1 lib/crystal/railtie.rb
crystalmeta-0.9.0 lib/crystal/railtie.rb