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