aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorZog2018-01-11 14:37:14 +0100
committerZog2018-01-11 14:37:14 +0100
commitcb0564d4d7d35c8a43e166b68d8c7dc94341fc9d (patch)
treea06beac9be2f17a49f572a844b8aa6d5171101e7 /app/views
parent8b3702a4c7f873e01e543034841de5dbecc30c06 (diff)
downloadchouette-core-cb0564d4d7d35c8a43e166b68d8c7dc94341fc9d.tar.bz2
Refs #5551 @1.5h; Implement Custom fields edition
RBD: implement the same in the creation modal
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 eeed79b34..487dd8670 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, :company_id, :comment, :checksum].each do |attr|
+[:objectid, :published_journey_name, :published_journey_identifier, :company_id, :comment, :checksum, :custom_fields].each do |attr|
attributes attr, :unless => lambda { |m| m.send( attr).nil?}
end