aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-01-11 12:56:40 +0100
committerZog2018-01-11 12:56:56 +0100
commitbc0097b6673de33ffb825acdf8758c211b781d24 (patch)
treeb200c6041d6b5090de7d9d2d64b984e01af0768b
parent161ad3d8921131faedd30f8dee9155225466245f (diff)
downloadchouette-core-bc0097b6673de33ffb825acdf8758c211b781d24.tar.bz2
Fix JourneyPattern editor
-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