Sha256: 3db15bb8d6550c562a877e5771f1c177c1c08b776a122a0a91d107ea658f5ee8

Contents?: true

Size: 738 Bytes

Versions: 9

Compression:

Stored size: 738 Bytes

Contents

require 'refinery'
require 'authlogic'

module Refinery
  module Authentication

    class Engine < Rails::Engine
      config.autoload_paths += %W( #{config.root}/lib )

      config.after_initialize do
        Refinery::Plugin.register do |plugin|
          plugin.name = "refinery_users"
          plugin.version = %q{0.9.8}
          plugin.menu_match = /(refinery|admin)\/users$/
          plugin.activity = {
            :class => User,
            :title => 'login'
          }
          plugin.url = {:controller => "/admin/users"}
        end
      end
    end
  end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
refinerycms-0.9.8.9 vendor/refinerycms/authentication/lib/authentication.rb
refinerycms-0.9.8.8 vendor/refinerycms/authentication/lib/authentication.rb
refinerycms-0.9.8.7 vendor/refinerycms/authentication/lib/authentication.rb
refinerycms-0.9.8.6 vendor/refinerycms/authentication/lib/authentication.rb
refinerycms-0.9.8.5 vendor/refinerycms/authentication/lib/authentication.rb
refinerycms-0.9.8.4 vendor/refinerycms/authentication/lib/authentication.rb
refinerycms-0.9.8.3 vendor/refinerycms/authentication/lib/authentication.rb
refinerycms-0.9.8.2 vendor/refinerycms/authentication/lib/authentication.rb
refinerycms-0.9.8.1 vendor/refinerycms/authentication/lib/authentication.rb