aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/organisation.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/organisation.rb')
-rw-r--r--app/models/organisation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/organisation.rb b/app/models/organisation.rb
index 4177c35..cda399f 100644
--- a/app/models/organisation.rb
+++ b/app/models/organisation.rb
@@ -1,5 +1,5 @@
class Organisation < ApplicationRecord
- has_many :events, dependent: :destroy
+ has_many :operations, dependent: :destroy
validates :name, presence: true, length: { maximum: 25 }
end