aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorXinhui2017-01-09 15:53:50 +0100
committerXinhui2017-01-09 16:03:14 +0100
commitddf2c5e2ffe57afc7c60d2e9048de86d7d93f684 (patch)
tree95b55906e0dd1acad94b5b65f33662a0d679bd97 /app/views
parenta3bda653a15b2f2c5790fd7ad0cd3c58025c4619 (diff)
downloadchouette-core-ddf2c5e2ffe57afc7c60d2e9048de86d7d93f684.tar.bz2
Wip save new journey_patterns
Refs #2213
Diffstat (limited to 'app/views')
-rw-r--r--app/views/api/v1/journey_patterns/show.rabl6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/api/v1/journey_patterns/show.rabl b/app/views/api/v1/journey_patterns/show.rabl
index 882660360..808808462 100644
--- a/app/views/api/v1/journey_patterns/show.rabl
+++ b/app/views/api/v1/journey_patterns/show.rabl
@@ -15,7 +15,7 @@ end unless root_object.vehicle_journeys.empty?
child :stop_points => :stop_area_short_descriptions do |stop_points|
node do |stop_point|
- partial("api/v1/stop_areas/short_description", :object => stop_point.stop_area)
- end
-end unless root_object.stop_points.empty?
+ partial("api/v1/stop_areas/short_description", :object => stop_point.stop_area)
+ end
+end