Module: OpenProject::ServicePacks::Patches::ProjectPatch
- Defined in:
- lib/open_project/service_packs/patches/project_patch.rb
Class Method Summary collapse
Class Method Details
.included(receiver) ⇒ Object
4 5 6 7 8 9 |
# 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 |