summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/call_route.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/call_route.rb b/app/models/call_route.rb
index de0f68a..e423030 100644
--- a/app/models/call_route.rb
+++ b/app/models/call_route.rb
@@ -6,6 +6,8 @@ class CallRoute < ActiveRecord::Base
validates :name,
:presence => true
+ acts_as_list :scope => '`table` = \'#{table}\''
+
def to_s
name.to_s
end