aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/routes/costs.rabl4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/routes/costs.rabl b/app/views/routes/costs.rabl
index d4465d03e..2c336fb51 100644
--- a/app/views/routes/costs.rabl
+++ b/app/views/routes/costs.rabl
@@ -1,2 +1,4 @@
object @route
-attributes :costs
+node :costs do
+ RouteWayCostJSONSerializer.dump(@route.costs)
+end