]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/map_bug_comment.rb
Add a browse page for bugs
[rails.git] / app / models / map_bug_comment.rb
index 9839cae45af5da54f7cebff72fe30e9a13756678..945b1b2f755f9d21192e81a9418c2c40dea59951 100644 (file)
@@ -3,8 +3,7 @@ class MapBugComment < ActiveRecord::Base
   set_table_name 'map_bug_comment'
 
   belongs_to :map_bug, :foreign_key => 'bug_id'
-  
-  
+  belongs_to :user, :foreign_key => 'commenter_id'
 
   validates_presence_of :id, :on => :update
   validates_uniqueness_of :id