Sha256: a357486d4d811cf2aa844ae4eb65a7947d6ee6bcdf4783ee3672e647263f3b2f

Contents?: true

Size: 784 Bytes

Versions: 6

Compression:

Stored size: 784 Bytes

Contents

require 'refinerycms-core'
require 'action_mailer'
require 'devise'
require 'friendly_id'

module Refinery
  autoload :AuthenticationGenerator, 'generators/refinery/authentication/authentication_generator'
  autoload :AuthenticatedSystem, 'refinery/authenticated_system'

  class << self
    attr_accessor :authentication_login_field
    def authentication_login_field
      @authentication_login_field ||= 'login'
    end
  end

  module Authentication
    require 'refinery/authentication/engine'
    require 'refinery/authentication/configuration'

    class << self
      def factory_paths
        @factory_paths ||= [ root.join("spec/factories").to_s ]
      end

      def root
        @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refinerycms-authentication-2.1.5 lib/refinery/authentication.rb
refinerycms-authentication-2.1.4 lib/refinery/authentication.rb
refinerycms-authentication-2.1.3 lib/refinery/authentication.rb
refinerycms-authentication-2.1.2 lib/refinery/authentication.rb
refinerycms-authentication-2.1.1 lib/refinery/authentication.rb
refinerycms-authentication-2.1.0 lib/refinery/authentication.rb