Sha256: 587227dc003aed9f195c93dbcdb9cbd446983ff16c01b4972e65076c8ba9e1c5

Contents?: true

Size: 394 Bytes

Versions: 22

Compression:

Stored size: 394 Bytes

Contents

module DeviseInvitable
  module Mapping
    def self.included(base)
      base.alias_method_chain :default_controllers, :invitable
    end
    
    private
    def default_controllers_with_invitable(options)
      options[:controllers] ||= {}
      options[:controllers][:registrations] ||= "devise_invitable/registrations"
      default_controllers_without_invitable(options)
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
devise_invitable-1.5.5 lib/devise_invitable/mapping.rb
devise_invitable-1.5.3 lib/devise_invitable/mapping.rb
devise_invitable-1.5.2 lib/devise_invitable/mapping.rb
devise_invitable-1.5.1 lib/devise_invitable/mapping.rb
devise_invitable-1.5.0 lib/devise_invitable/mapping.rb
devise_invitable-1.4.2 lib/devise_invitable/mapping.rb
devise_invitable-1.4.1 lib/devise_invitable/mapping.rb
devise_invitable-1.4.0 lib/devise_invitable/mapping.rb
devise_invitable-1.3.6 lib/devise_invitable/mapping.rb
devise_invitable-1.3.5 lib/devise_invitable/mapping.rb
devise_invitable-1.3.4 lib/devise_invitable/mapping.rb
devise_invitable-1.3.3 lib/devise_invitable/mapping.rb
devise_invitable-1.3.2 lib/devise_invitable/mapping.rb
devise_invitable-1.3.1 lib/devise_invitable/mapping.rb
devise_invitable-1.3.0 lib/devise_invitable/mapping.rb
devise_invitable-1.2.1 lib/devise_invitable/mapping.rb
devise_invitable-1.1.8 lib/devise_invitable/mapping.rb
devise_invitable-1.1.7 lib/devise_invitable/mapping.rb
devise_invitable-1.1.6 lib/devise_invitable/mapping.rb
devise_invitable-1.1.5 lib/devise_invitable/mapping.rb