FindCommon doesn't work with plugins
If a plugin has "ForemanPlugin::UnicornController" then controller_name.classify.constantize will fail, it needs to use controller path.
#2 Updated by Stephen Benjamin over 5 years ago
- Status changed from Ready For Testing to Rejected
PR was rejected and I solved it in my plugin https://github.com/theforeman/foreman_salt/pull/8/files#diff-ca1bcc0d52bbce1409262189c416309aR4