diff options
Diffstat (limited to 'app/views/api')
| -rw-r--r-- | app/views/api/v1/journey_patterns/show.rabl | 8 | 
1 files changed, 1 insertions, 7 deletions
| diff --git a/app/views/api/v1/journey_patterns/show.rabl b/app/views/api/v1/journey_patterns/show.rabl index 7c3af52fc..21f25e480 100644 --- a/app/views/api/v1/journey_patterns/show.rabl +++ b/app/views/api/v1/journey_patterns/show.rabl @@ -5,13 +5,6 @@ extends "api/v1/trident_objects/show"    attributes attr, :unless => lambda { |m| m.send( attr).nil?}  end -node do |jp| -  { -    short_id: jp.objectid.parts.try(:third) -  } - -end -  node(:route_short_description) do |journey_pattern|    partial("api/v1/routes/short_description", :object => journey_pattern.route)  end @@ -25,3 +18,4 @@ child :stop_points => :stop_area_short_descriptions do |stop_points|      partial("api/v1/stop_areas/short_description", :object => stop_point.stop_area)    end  end + | 
