Sha256: e13079927fc1c017d824584946fb46b1acda5e806a152b090e097e21a4067ccf

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

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

module Refinery
  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

2 entries across 2 versions & 1 rubygems

Version Path
refinerycms-authentication-2.0.1 lib/refinery/authentication.rb
refinerycms-authentication-2.0.0 lib/refinery/authentication.rb