Delete cost objects along with their projects.

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@1149 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
hjust 15 years ago
parent 8f2c46f17e
commit 7741ce5449
  1. 2
      lib/costs_project_patch.rb

@ -8,7 +8,7 @@ module CostsProjectPatch
base.class_eval do
unloadable
has_many :cost_objects
has_many :cost_objects, :dependent => :destroy
has_many :rates, :class_name => 'HourlyRate'
has_many :member_groups, :class_name => 'Member',

Loading…
Cancel
Save