Sha256: 46df70a0b45e474977e0dc953473adc7cf4aee3fa9bf1cd36a2b802a47eaf5f6

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

require "rails"

module BetterSJR
  # Makes BetterSJR behavior available to Rails apps on initialization
  class Railtie < Rails::Railtie
    initializer "better_sjr.initialize" do
      ActiveSupport.on_load(:action_view) do
        require "better_sjr/on_load_action_view"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
better_sjr-1.0.0 lib/better_sjr/railtie.rb
better_sjr-1.0.0.beta3 lib/better_sjr/railtie.rb
better_sjr-1.0.0.beta2 lib/better_sjr/railtie.rb