aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/api
diff options
context:
space:
mode:
authorXinhui2018-01-04 14:22:45 +0100
committerXinhui2018-01-04 14:22:45 +0100
commitad537be88672bc6472925685e3e204ef562ad8c9 (patch)
tree0bd49aa8b1a63da1adb86fabff2918529200837c /app/views/api
parent346fa48d81aa9696bf2c3c8341d4d41c216889a7 (diff)
downloadchouette-core-ad537be88672bc6472925685e3e204ef562ad8c9.tar.bz2
Display checksum for journey patterns -m Refs
Diffstat (limited to 'app/views/api')
-rw-r--r--app/views/api/v1/journey_patterns/show.rabl2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/v1/journey_patterns/show.rabl b/app/views/api/v1/journey_patterns/show.rabl
index 3ea1bb6ff..86876f3fb 100644
--- a/app/views/api/v1/journey_patterns/show.rabl
+++ b/app/views/api/v1/journey_patterns/show.rabl
@@ -1,7 +1,7 @@
object @journey_pattern
extends "api/v1/trident_objects/show"
-[:id, :name, :published_name, :registration_number, :comment].each do |attr|
+[:id, :name, :published_name, :registration_number, :comment, :checksum].each do |attr|
attributes attr, :unless => lambda { |m| m.send( attr).nil?}
end