From ddf2c5e2ffe57afc7c60d2e9048de86d7d93f684 Mon Sep 17 00:00:00 2001 From: Xinhui Date: Mon, 9 Jan 2017 15:53:50 +0100 Subject: Wip save new journey_patterns Refs #2213 --- app/views/api/v1/journey_patterns/show.rabl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views') 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 -- cgit v1.2.3