Sha256: 1807c8b313b559eba9b0bb1975e5fc8412f80c1fa0495908ba62dc386a8394d6

Contents?: true

Size: 473 Bytes

Versions: 33

Compression:

Stored size: 473 Bytes

Contents

require 'devise/rails/routes'
require 'devise/rails/warden_compat'

Rails.configuration.after_initialize do
  require "devise/orm/#{Devise.orm}"

  # Adds Warden Manager to Rails middleware stack, configuring default devise
  # strategy and also the failure app.
  Rails.configuration.middleware.use Warden::Manager do |config|
    Devise.configure_warden(config)
  end

  I18n.load_path.unshift File.expand_path(File.join(File.dirname(__FILE__), 'locales', 'en.yml'))
end

Version data entries

33 entries across 28 versions & 6 rubygems

Version Path
devise-1.0.11 lib/devise/rails.rb
devise-1.0.10 lib/devise/rails.rb
devise_ennder-1.4.1.0.9 test/rails_app/vendor/plugins/devise/lib/devise/rails.rb
devise_ennder-1.4.1.0.9 lib/devise/rails.rb
devise_ennder-1.3.1.0.9 test/rails_app/vendor/plugins/devise/lib/devise/rails.rb
devise_ennder-1.3.1.0.9 lib/devise/rails.rb
devise_ennder-1.2.1.0.9 test/rails_app/vendor/plugins/devise/lib/devise/rails.rb
devise_ennder-1.2.1.0.9 lib/devise/rails.rb
devise_ennder-1.1.1.0.9 test/rails_app/vendor/plugins/devise/lib/devise/rails.rb
devise_ennder-1.1.1.0.9 lib/devise/rails.rb
devise_ennder-1.0.1.0.9 test/rails_app/vendor/plugins/devise/lib/devise/rails.rb
devise_ennder-1.0.1.0.9 lib/devise/rails.rb
devise-1.0.9 lib/devise/rails.rb
dcu-devise-1.0.7 lib/devise/rails.rb
devise-1.0.8 lib/devise/rails.rb
ivanvc-devise-1.0.7.1 lib/devise/rails.rb
mongoid-devise-1.0.1 lib/devise/rails.rb
devise-1.0.7 lib/devise/rails.rb
devise-1.0.6 lib/devise/rails.rb
devise-1.0.5 lib/devise/rails.rb