diff --git a/app/models/dmptemplate.rb b/app/models/dmptemplate.rb index 03caa72..15d1d16 100644 --- a/app/models/dmptemplate.rb +++ b/app/models/dmptemplate.rb @@ -40,6 +40,8 @@ # @param ot [String] name of an organisation type e.g. founder # @return [Array] list of published dmptemplates def self.templates_org_type(ot) + # DISCUSS - This function other than the check for the template being published + # is a superclass for the below funders_templates new_org_obejcts = OrganisationType.find_by( name: ot ).organisations org_templates = Array.new