module OpenProject::ServicePacks::Patches::ProjectPatch

Public Class Methods

included(receiver) click to toggle source
# File lib/open_project/service_packs/patches/project_patch.rb, line 4
def self.included(receiver)
  receiver.class_eval do
    has_many :assigns, dependent: :destroy
    has_many :service_packs, through: :assigns
  end
end