Sha256: fe9326f939dae6320a49e64b59a9e55a90534d686fb5d214a89243727e3e8f76
Contents?: true
Size: 785 Bytes
Versions: 1
Compression:
Stored size: 785 Bytes
Contents
unless defined?(Devise) require 'devise' end require 'devise_capturable/model' require 'devise_capturable/strategy' Warden::Strategies.add(:capturable, Devise::Capturable::Strategies::Capturable) require 'devise_capturable/view_helpers' module Devise mattr_accessor :capturable_server mattr_accessor :capturable_client_id mattr_accessor :capturable_client_secret mattr_accessor :capturable_redirect_uri mattr_accessor :capturable_auto_create_account end I18n.load_path.unshift File.join(File.dirname(__FILE__), *%w[devise_capturable locales en.yml]) Devise.add_module(:capturable, :strategy => true, :controller => :sessions, :model => 'devise_capturable/model') module Devise module Capturable module Rails class Engine < ::Rails::Engine end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_capturable-0.0.12 | lib/devise_capturable.rb |