Add reports for IncomingLinks on admin dashboard

This commit is contained in:
Neil Lalonde
2013-05-01 18:12:02 -04:00
parent 5f4dbd6ddc
commit 38ed86d0c5
8 changed files with 307 additions and 3 deletions
+1
View File
@@ -1,5 +1,6 @@
class IncomingLink < ActiveRecord::Base
belongs_to :topic
belongs_to :user
validates :url, presence: true