aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorXinhui2017-03-17 11:30:19 +0100
committerXinhui2017-03-17 11:30:51 +0100
commit2c8690d30b851a48bc2ce797f4ac44c7bfedc024 (patch)
tree7e7b0dbf17aacb6e9381d7e54c4d491e910918d3 /app/views
parent085c1271814a01a87c8f3367e45c200766dc8738 (diff)
downloadchouette-core-2c8690d30b851a48bc2ce797f4ac44c7bfedc024.tar.bz2
Wip vj save new vj from state && update vj journey_pattern
Ref #2777
Diffstat (limited to 'app/views')
-rw-r--r--app/views/vehicle_journeys/show.rabl2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/vehicle_journeys/show.rabl b/app/views/vehicle_journeys/show.rabl
index 398bb3b16..86edfafa8 100644
--- a/app/views/vehicle_journeys/show.rabl
+++ b/app/views/vehicle_journeys/show.rabl
@@ -1,6 +1,6 @@
object @vehicle_journey
-[:objectid, :published_journey_name, :published_journey_identifier].each do |attr|
+[:objectid, :published_journey_name, :published_journey_identifier, :company_id].each do |attr|
attributes attr, :unless => lambda { |m| m.send( attr).nil?}
end