Sha256: 7d2aafbe1a9ed341ff671703ca9fd0cff73546dac0d968986a9211b9431faa48
Contents?: true
Size: 613 Bytes
Versions: 6
Compression:
Stored size: 613 Bytes
Contents
require 'devise/rails/routes' require 'devise/rails/warden_compat' Rails.configuration.after_initialize do if defined?(ActiveRecord) ActiveRecord::Base.extend Devise::Models ActiveRecord::ConnectionAdapters::TableDefinition.send :include, Devise::Migrations end # Adds Warden Manager to Rails middleware stack, configuring default devise # strategy and also the failure app. Rails.configuration.middleware.use Warden::Manager do |manager| Devise.configure_warden_manager(manager) end I18n.load_path.unshift File.expand_path(File.join(File.dirname(__FILE__), 'locales', 'en.yml')) end
Version data entries
6 entries across 6 versions & 3 rubygems