Sha256: b775caafc6f746349cf0b464efae72f49d1a00104a6b2384af7625df5e1bbd86
Contents?: true
Size: 736 Bytes
Versions: 15
Compression:
Stored size: 736 Bytes
Contents
Refinery::Plugin.register do |plugin| plugin.title = "Users" plugin.name = "refinery_users" plugin.description = "Manage users" plugin.version = 1.0 plugin.menu_match = /(refinery|admin)\/users$/ plugin.activity = { :class => User, :url_prefix => "edit_", :title => "login", :created_image => "user_add.png", :updated_image => "user_edit.png" } # this tells refinery where this plugin is located on the filesystem and helps with urls. plugin.directory = directory plugin.url = {:controller => "/refinery/users"} end module ::Refinery class << self attr_accessor :authentication_login_field def authentication_login_field @authentication_login_field ||= 'login' end end end
Version data entries
15 entries across 15 versions & 1 rubygems