Sha256: 9003002c369650b76a517a510527edec82e39f4f16ac5344de68a181519bd76e

Contents?: true

Size: 352 Bytes

Versions: 3

Compression:

Stored size: 352 Bytes

Contents

module ShopifyAppWhitelist
  # Railite implementation for the Gem
  class Railtie < Rails::Railtie
    config.after_initialize do
      # Include our concern into the ApplicationController after initialization
      Rails.app_class::ApplicationController.class_eval do
        include ShopifyAppWhitelist::ProtectionConcern
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shopify_app_whitelist-1.1.1 lib/shopify_app_whitelist/railite.rb
shopify_app_whitelist-1.1.0 lib/shopify_app_whitelist/railite.rb
shopify_app_whitelist-1.0.0 lib/shopify_app_whitelist/railite.rb