summaryrefslogtreecommitdiff
path: root/app/models/route_element.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 16:32:59 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 16:32:59 +0100
commit0ee17f52f8ad337c1240b4c55dbd8f6c6c74dc90 (patch)
tree1016d6e8f1d35629d82ef462fed20827d17c4e3d /app/models/route_element.rb
parent225a812d5f2da7dc205c021a571ff3c6d5307f20 (diff)
Fixed routes and breadcrumbs. #106
Diffstat (limited to 'app/models/route_element.rb')
-rw-r--r--app/models/route_element.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/route_element.rb b/app/models/route_element.rb
index e845f24..11bb54a 100644
--- a/app/models/route_element.rb
+++ b/app/models/route_element.rb
@@ -2,4 +2,9 @@ class RouteElement < ActiveRecord::Base
attr_accessible :call_route_id, :var_in, :var_out, :pattern, :replacement, :action, :mandatory, :position
belongs_to :call_route
+
+ def to_s
+ "#{var_in} #{var_out}"
+ end
+
end