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