Sha256: c4abdabf04c4378ef096bff2cdb7c5dd2917fd76616c7aa14876ed290fc722d2

Contents?: true

Size: 442 Bytes

Versions: 8

Compression:

Stored size: 442 Bytes

Contents

module DeviseAuthy
  module Mapping
    private
    def default_controllers(options)
      options[:controllers] ||= {}
      options[:controllers][:passwords] ||= "devise_authy/passwords"
      super
    end

    def default_path_names(options)
      options[:path_names] ||= {}
      options[:path_names][:request_sms] ||= 'request-sms'
      options[:path_names][:request_phone_call] ||= 'request-phone-call'
      super
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
devise-authy-2.3.1 lib/devise-authy/mapping.rb
devise-authy-2.3.0 lib/devise-authy/mapping.rb
devise-authy-2.2.1 lib/devise-authy/mapping.rb
devise-authy-2.2.0 lib/devise-authy/mapping.rb
devise-authy-2.1.0 lib/devise-authy/mapping.rb
devise-authy-2.0.0 lib/devise-authy/mapping.rb
devise-authy-1.11.1 lib/devise-authy/mapping.rb
devise-authy-1.11.0 lib/devise-authy/mapping.rb