Removed feature: comments on wiki

This commit is contained in:
Dmitriy Zaporozhets 2012-11-29 06:14:05 +03:00
parent df03275eaa
commit a0aa0212a9
7 changed files with 1 additions and 59 deletions

View file

@ -216,10 +216,6 @@ class Project < ActiveRecord::Base
last_event.try(:created_at) || updated_at
end
def wiki_notes
Note.where(noteable_id: wikis.pluck(:id), noteable_type: 'Wiki', project_id: self.id)
end
def project_id
self.id
end