Sha256: ac28a0b706b52076309c8975f87c7c5ee8eb6e2de43f7ae51fa2275256145d0f
Contents?: true
Size: 900 Bytes
Versions: 4
Compression:
Stored size: 900 Bytes
Contents
require 'active_support/concern' require 'active_support/core_ext/integer/time' require 'devise' require 'authy' module Devise mattr_accessor :authy_remember_device @@authy_remember_device = 1.month end module DeviseAuthy autoload :Mapping, 'devise-authy/mapping' module Controllers autoload :Passwords, 'devise-authy/controllers/passwords' autoload :Helpers, 'devise-authy/controllers/helpers' end module Views autoload :Helpers, 'devise-authy/controllers/view_helpers' end end require 'devise-authy/routes' require 'devise-authy/rails' require 'devise-authy/models/authy_authenticatable' require 'devise-authy/models/authy_lockable' Devise.add_module :authy_authenticatable, :model => 'devise-authy/models/authy_authenticatable', :controller => :devise_authy, :route => :authy Devise.add_module :authy_lockable, :model => 'devise-authy/models/authy_lockable'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
devise-authy-1.8.1 | lib/devise-authy.rb |
devise-authy-1.8.0 | lib/devise-authy.rb |
devise-authy-1.7.0 | lib/devise-authy.rb |
devise-authy-1.6.0 | lib/devise-authy.rb |