Sha256: 2147e2dd24384deaa1f7d18786504302396e786ad7792781dc1c197267cd157b

Contents?: true

Size: 356 Bytes

Versions: 22

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module DeviseMasquerade
  module Rails

    class Engine < ::Rails::Engine
      initializer "devise.url_helpers" do
        Devise.include_helpers(DeviseMasquerade::Controllers)
      end

      ActiveSupport.on_load(:action_controller) do
        include DeviseMasquerade::Controllers::Helpers
      end
    end

  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
devise_masquerade-2.1.3 lib/devise_masquerade/rails.rb
devise_masquerade-2.1.2 lib/devise_masquerade/rails.rb
devise_masquerade-2.1.0 lib/devise_masquerade/rails.rb
devise_masquerade-2.0.3 lib/devise_masquerade/rails.rb
devise_masquerade-2.0.2 lib/devise_masquerade/rails.rb
devise_masquerade-2.0.1 lib/devise_masquerade/rails.rb
devise_masquerade-2.0.0 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.12 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.11 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.10 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.9 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.8 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.7 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.6 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.5 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.4 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.3 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.2 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.1 lib/devise_masquerade/rails.rb
devise_masquerade-1.3.0 lib/devise_masquerade/rails.rb