diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-12 13:27:08 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-12 13:27:08 +0100 |
commit | 421249fc702fa76fe68530a1ab8bdde910814c6f (patch) | |
tree | aa6ed467ba56ea74b0061af4d06cfb9b853da489 /app/models/call_route.rb | |
parent | aa5a2b806d117ffde9888e282c7100066156d94b (diff) | |
parent | f8f35f666613eff24d3988bda1a22cc40ef2ab30 (diff) |
Merge branch 'call_routes' into develop
Diffstat (limited to 'app/models/call_route.rb')
-rw-r--r-- | app/models/call_route.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/call_route.rb b/app/models/call_route.rb index 6e0dcab..8bc811a 100644 --- a/app/models/call_route.rb +++ b/app/models/call_route.rb @@ -4,7 +4,7 @@ class CallRoute < ActiveRecord::Base ROUTING_TABLES = ['prerouting', 'outbound', 'inbound', 'dtmf'] - has_many :route_elements, :dependent => :destroy + has_many :route_elements, :dependent => :destroy, :order => :position validates :name, :presence => true |