aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorZakaria BOUZIANE2014-07-08 16:29:23 +0200
committerZakaria BOUZIANE2014-07-08 16:29:23 +0200
commitdc541634dd463ade30b802e2a55f1fe27a8dd892 (patch)
tree794253d45b387dbc81c4ba4b2d5a03d8353d9a18 /app/views
parenta77d67e7807f90ea24e96b5c1a9e6bbb290170b0 (diff)
downloadchouette-core-dc541634dd463ade30b802e2a55f1fe27a8dd892.tar.bz2
HUB Export: company and network
Diffstat (limited to 'app/views')
-rw-r--r--app/views/api/hub/reseau/show.hub.erb1
-rw-r--r--app/views/api/hub/transporteur/show.hub.erb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/api/hub/reseau/show.hub.erb b/app/views/api/hub/reseau/show.hub.erb
new file mode 100644
index 000000000..25f24dc6d
--- /dev/null
+++ b/app/views/api/hub/reseau/show.hub.erb
@@ -0,0 +1 @@
+<%= @network.id %>;<%= @network.name %>;<%= @network.registration_number %>
diff --git a/app/views/api/hub/transporteur/show.hub.erb b/app/views/api/hub/transporteur/show.hub.erb
new file mode 100644
index 000000000..3f175b053
--- /dev/null
+++ b/app/views/api/hub/transporteur/show.hub.erb
@@ -0,0 +1 @@
+<%= @company.id %>;<%= @company.name %>;<%= @company.registration_number %>