aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/api
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/api')
-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