Sha256: 5e17ad2cc65913d5a46fba96f5d2bacc1b3b9c59ea1ee440b8658fa43a5af316
Contents?: true
Size: 558 Bytes
Versions: 2
Compression:
Stored size: 558 Bytes
Contents
unless defined?(Devise) require 'devise' end Devise.module_eval do # Time interval where the invitation token is valid. mattr_accessor :invite_for @@invite_for = 0 end Devise.add_module :invitable, :controller => :invitations, :model => 'devise_invitable/model', :route => :invitation module DeviseInvitable; end require 'devise_invitable/mailer' require 'devise_invitable/routes' require 'devise_invitable/schema' require 'devise_invitable/controllers/url_helpers' require 'devise_invitable/controllers/helpers' require 'devise_invitable/rails'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise_invitable-0.3.2 | lib/devise_invitable.rb |
devise_invitable-0.3.1 | lib/devise_invitable.rb |