OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/contracts/concerns/assignable_values_contract.rb

9 lines
208 B

module AssignableValuesContract
def assignable_values(column, _user)
method_name = "assignable_#{column.to_s.pluralize}"
if respond_to?(method_name, true)
send(method_name)
end
end
end