Actions
Bug #3793
closedapi base class cannot find katello engine classes
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Description
def resource_class
@resource_class ||= resource_name.classify.constantize
end
When katello engine api controllers extend Foreman::Api::V2::BaseController and attempt to use the base helper methods such as
before_filter :find_resource
the 'resource_class' fails because it cannot find the class.
If the foreman core is going to truly support engines, this needs to be fixed.
Updated by Thomas McKay almost 10 years ago
- Status changed from New to Resolved
This behavior is fixed
Actions