From bc0097b6673de33ffb825acdf8758c211b781d24 Mon Sep 17 00:00:00 2001 From: Zog Date: Thu, 11 Jan 2018 12:56:40 +0100 Subject: Fix JourneyPattern editor --- app/views/api/v1/journey_patterns/show.rabl | 6 +++--- 1 file 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 ba63a35c7..cdda2d1cd 100644 --- a/app/views/api/v1/journey_patterns/show.rabl +++ b/app/views/api/v1/journey_patterns/show.rabl @@ -11,9 +11,9 @@ end if has_feature? :costs_in_journey_patterns attribute :costs - node(:route_short_description) do |journey_pattern| - partial("api/v1/routes/short_description", :object => journey_pattern.route) - end +end +node(:route_short_description) do |journey_pattern| + partial("api/v1/routes/short_description", :object => journey_pattern.route) end -- cgit v1.2.3