Sha256: dbd22d9f5e99a3a97997cb85aefe487d20e9b2565a26df8d49f58c2cc49ef685
Contents?: true
Size: 546 Bytes
Versions: 2
Compression:
Stored size: 546 Bytes
Contents
require 'devise' require "devise/verifiable/routes" require "devise/verifiable/engine" module Devise module Verifiable module Controller autoload :Helpers, 'devise/controller/helpers' end end mattr_accessor :fields_for_verification @@fields_for_verification = [] @@helpers << Devise::Verifiable::Controller::Helpers end Devise.add_module :verifiable, model: 'devise/models/verifiable', controller: :verifications, route: { verification: [:new, :create] }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
devise-verifiable-0.0.2 | lib/devise-verifiable.rb |
devise-verifiable-0.0.1 | lib/devise-verifiable.rb |