aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-13 12:31:56 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-13 12:31:56 +1100
commit17cf3d0b9d253e07dc65442f376736a92abe99f7 (patch)
treef6c1a02f8e39980ebf9e8362e3819fc36f7dc405 /app/models
parent72713062105e779078a023310b371c7ee0d5ac9b (diff)
Make tracking links relative
Diffstat (limited to 'app/models')
-rw-r--r--app/models/track_thing.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/track_thing.rb b/app/models/track_thing.rb
index dfe92b7fe..a0c74bdb6 100644
--- a/app/models/track_thing.rb
+++ b/app/models/track_thing.rb
@@ -23,6 +23,8 @@
require 'set'
+# TODO: TrackThing looks like a good candidate for single table inheritance
+
class TrackThing < ActiveRecord::Base
belongs_to :tracking_user, :class_name => 'User'
validates_presence_of :track_query