Sha256: 08a962f0aec7ee92da4145fa03cc1a80b32ac746af778f1c5a9de7a7971a7bc4

Contents?: true

Size: 431 Bytes

Versions: 4

Compression:

Stored size: 431 Bytes

Contents

p "Loading Devise Approvable"

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

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

module Devise
  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

4 entries across 4 versions & 1 rubygems

Version Path
devise_approvable-0.6.0 lib/devise_approvable.rb
devise_approvable-0.5.0 lib/devise_approvable.rb
devise_approvable-0.4.0 lib/devise_approvable.rb
devise_approvable-0.3.0 lib/devise_approvable.rb