Sha256: bd2ba1a1712915e797085936a3eff7e2f05079cd30081a262b36d97e3d20aa8c

Contents?: true

Size: 760 Bytes

Versions: 9

Compression:

Stored size: 760 Bytes

Contents

require 'refinerycms-core'
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

9 entries across 9 versions & 1 rubygems

Version Path
refinerycms-authentication-2.0.10 lib/refinery/authentication.rb
refinerycms-authentication-2.0.9 lib/refinery/authentication.rb
refinerycms-authentication-2.0.8 lib/refinery/authentication.rb
refinerycms-authentication-2.0.7 lib/refinery/authentication.rb
refinerycms-authentication-2.0.6 lib/refinery/authentication.rb
refinerycms-authentication-2.0.5 lib/refinery/authentication.rb
refinerycms-authentication-2.0.4 lib/refinery/authentication.rb
refinerycms-authentication-2.0.3 lib/refinery/authentication.rb
refinerycms-authentication-2.0.2 lib/refinery/authentication.rb