Sha256: 95fb6b303b1c70b72836818fa0a802e7bc9e3a2b31f1a0e6fbe1ecb8910b5166

Contents?: true

Size: 429 Bytes

Versions: 9

Compression:

Stored size: 429 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

9 entries across 9 versions & 1 rubygems

Version Path
devise_approvable-0.15.0 lib/devise_approvable.rb
devise_approvable-0.14.0 lib/devise_approvable.rb
devise_approvable-0.13.0 lib/devise_approvable.rb
devise_approvable-0.12.0 lib/devise_approvable.rb
devise_approvable-0.11.0 lib/devise_approvable.rb
devise_approvable-0.10.0 lib/devise_approvable.rb
devise_approvable-0.9.0 lib/devise_approvable.rb
devise_approvable-0.8.0 lib/devise_approvable.rb
devise_approvable-0.7.0 lib/devise_approvable.rb