diff options
| author | vlatka pavisic | 2016-11-09 15:04:07 +0100 | 
|---|---|---|
| committer | vlatka pavisic | 2016-11-09 15:04:07 +0100 | 
| commit | 56c0f55d2d8d566b931664b85c76dbe3a58e31cc (patch) | |
| tree | 717b761de93b13a72f6fde9fa05b5b7cf57131ec /app/controllers/api/v1 | |
| parent | d67ed4c32b338070e4e4ff33f89fe64011e14c3b (diff) | |
| download | chouette-core-56c0f55d2d8d566b931664b85c76dbe3a58e31cc.tar.bz2 | |
Refs #1872 : Route direction and wayback enumerations
Diffstat (limited to 'app/controllers/api/v1')
| -rw-r--r-- | app/controllers/api/v1/routes_controller.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/api/v1/routes_controller.rb b/app/controllers/api/v1/routes_controller.rb index e3694725f..fbc589355 100644 --- a/app/controllers/api/v1/routes_controller.rb +++ b/app/controllers/api/v1/routes_controller.rb @@ -3,11 +3,11 @@ class Api::V1::RoutesController < Api::V1::ChouetteController    defaults :resource_class => Chouette::Route, :finder => :find_by_objectid!    belongs_to :line, :parent_class => Chouette::Line, :optional => true, :finder => :find_by_objectid!, :param => :line_id -   +  protected    def collection      @routes ||= parent.routes -  end  +  end  end  | 
