aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/api/hub/directions.hub.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api/hub/directions.hub.erb')
-rw-r--r--app/views/api/hub/directions.hub.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/api/hub/directions.hub.erb b/app/views/api/hub/directions.hub.erb
new file mode 100644
index 000000000..bce4b0a9c
--- /dev/null
+++ b/app/views/api/hub/directions.hub.erb
@@ -0,0 +1 @@
+<%= @direction.objectid.sub(/(\w*\:\w*\:)(\w*)/, '\2') if @direction %>;<%= @line.objectid.sub(/(\w*\:\w*\:)(\w*)/, '\2') if @line %>;<%= (@journey_pattern.route.wayback == 'A' ? 1 : 2) if @journey_pattern.route %>;<%= @journey_pattern.objectid.sub(/(\w*\:\w*\:)(\w*)/, '\2') if @journey_pattern.objectid %>