Actions
Feature #1459
closedAllow to add own configrations or the like to be handled in dependence of Rails version
Start date:
Due date:
% Done:
100%
Estimated time:
Compatible Redmine Version:
Pull Request Link:
Description
It would be helpful for plugin developer to add a method with block which handles the loading of given code in dependence of the underlying Rails version.
This method could look similar to this on the API:
AdvancedPluginHelper::Configuration.to_prepare do
# developers method here
end
Updated by liaham about 2 years ago
Decided to use the existing method:
AdvancedPluginHelper::Patch.apply do
{ klass: DevelopersKlass,
method: :developers_method }
end
Updated by liaham about 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Updated by liaham about 2 years ago
- Target version changed from unreleased to 0.4.0
Actions