Removed feature: comments on wiki
This commit is contained in:
parent
df03275eaa
commit
a0aa0212a9
7 changed files with 1 additions and 59 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue