Sha256: 299a08287bb7a0f6d62e310a401021b55650f186ad1c664a25faf3c01a26455f

Contents?: true

Size: 492 Bytes

Versions: 3

Compression:

Stored size: 492 Bytes

Contents

require 'devise'

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'

module Devise
  # The period the generated invitation token is valid.
  mattr_accessor :invite_for
  @@invite_for = 0
end

Devise.add_module :invitable, :controller => :invitations, :model => 'devise_invitable/model', :route => :invitation

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
devise_invitable-0.4.rc lib/devise_invitable.rb
dougjohnston-devise_invitable-0.4.rc lib/devise_invitable.rb
aihs_devise_invitable-0.4.rc lib/devise_invitable.rb