Project

General

Profile

« Previous | Next » 

Revision 7d90b5cb

Added by Eric Helms over 8 years ago

Fixes #13417: Provide facet registration through plugin API

View differences:

app/services/foreman/plugin.rb
return if @provision_methods.key?(name.to_s)
@provision_methods[name.to_s] = friendly_name
end
def register_facet(klass, name, &block)
Facets.register(klass, name, &block)
end
end
end

Also available in: Unified diff