]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_node.rb
Fix more links to use new style #map links
[rails.git] / app / models / way_node.rb
index 1a2e6928a5e9289dba8a711c467a830eb013ef3f..30d9013565eb9ebf3c78f795e9a51ae7c84304b4 100644 (file)
@@ -1,6 +1,6 @@
 class WayNode < ActiveRecord::Base
-  set_table_name 'current_way_nodes'
-  set_primary_keys :way_id, :sequence_id
+  self.table_name = "current_way_nodes"
+  self.primary_keys = "way_id", "sequence_id"
 
   belongs_to :way
   belongs_to :node