summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/gateway.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/gateway.rb b/app/models/gateway.rb
index 01b29b2..0360795 100644
--- a/app/models/gateway.rb
+++ b/app/models/gateway.rb
@@ -6,6 +6,7 @@ class Gateway < ActiveRecord::Base
has_many :gateway_settings, :dependent => :destroy
has_many :gateway_parameters, :dependent => :destroy
+ has_many :gateway_headers, :dependent => :destroy
has_many :call_routes, :as => :endpoint, :dependent => :nullify
validates :name,