diff options
| author | Michel Etienne | 2012-07-12 19:24:44 +0200 |
|---|---|---|
| committer | Michel Etienne | 2012-07-12 19:24:44 +0200 |
| commit | cd41d9ad4c239dd534f807795fda0f3853354468 (patch) | |
| tree | 827905c87c89b82afb638ed184691ed2009b6e19 | |
| parent | beaaf0f8cfd8b2eba9075d06d80e10868441bfae (diff) | |
| download | chouette-core-cd41d9ad4c239dd534f807795fda0f3853354468.tar.bz2 | |
finalize export GTFS
| -rw-r--r-- | Gemfile.lock | 2 | ||||
| -rw-r--r-- | app/models/export.rb | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 3186ff2ae..eb1a5fe96 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: git://chouette.dryade.priv/ninoxe - revision: 678c15d620880831c583e6f67ff4dca009197a38 + revision: 2bbf27be9a282188d31399790d7ba1951cb27a2b specs: ninoxe (0.0.8) GeoRuby diff --git a/app/models/export.rb b/app/models/export.rb index 8aae7448c..73694239b 100644 --- a/app/models/export.rb +++ b/app/models/export.rb @@ -49,12 +49,12 @@ class Export < ActiveRecord::Base end def export_object_type - case references_type - when "Chouette::Network" - "ptnetwork" - else +# case references_type +# when "Chouette::Network" +# "ptnetwork" +# else references_relation ? references_relation.singularize : "line" - end +# end end before_validation :define_default_attributes, :on => :create |
