Sha256: fd9d69c4e571309d68da7b8c5b7077eee25b27dbb51d6d4d403b1164193b4521

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 Bytes

Contents

module DeviseApprovable
  autoload :Mailer, 'devise_approvable/mailer'
end

require 'devise'
require 'devise_approvable/routes'
# require 'devise_approvable/rails'

module Devise
  # Public: Validity period of the invitation token (default: 0). If
  # invite_for is 0 or nil, the invitation will never expire.
  # Set invite_for in the Devise configuration file (in config/initializers/devise.rb).
  #
  #   config.invite_for = 2.weeks # => The invitation token will be valid 2 weeks
  mattr_accessor :admin_email
  @@admin_email = "admin@curbcall.com"


end

Devise.add_module :approvable, :controller => :approvals, :model => 'devise_approvable/model', :route => {:approval => [nil, :new, :accept, :show]}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise-approvable-0.3.0 lib/devise_approvable.rb