]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way.rb
Minor fixes to the I18n code of routing
[rails.git] / app / models / way.rb
index a9fdd88eeb1ca7f46714d42c3ec7cf8e61fe1344..1da048c96b00b39c3c2bd91028949bb531c9efa2 100644 (file)
@@ -17,7 +17,7 @@ class Way < ActiveRecord::Base
   has_many :way_tags
 
   has_many :containing_relation_members, :class_name => "RelationMember", :as => :member
-  has_many :containing_relations, :class_name => "Relation", :through => :containing_relation_members, :source => :relation, :extend => ObjectFinder
+  has_many :containing_relations, :class_name => "Relation", :through => :containing_relation_members, :source => :relation
 
   validates_presence_of :id, :on => :update
   validates_presence_of :changeset_id,:version,  :timestamp