]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/trace.rb
Include the event type in the JSON output of a note
[rails.git] / app / models / trace.rb
index 3f58cee2ef4008c7604ad4f282290a54d0df12d0..b72fda07dcd7b4b10b13a398b9f89205c936630d 100644 (file)
@@ -1,5 +1,5 @@
 class Trace < ActiveRecord::Base
-  set_table_name 'gpx_files'
+  self.table_name = "gpx_files"
 
   belongs_to :user
   has_many :tags, :class_name => 'Tracetag', :foreign_key => 'gpx_id', :dependent => :delete_all