Merge branch 'add_wiki_comments' of git://github.com/seeingidog/gitlabhq into seeingidog-add_wiki_comments
Conflicts: app/controllers/admin/mailer_controller.rb app/controllers/notes_controller.rb
This commit is contained in:
commit
61c85332d2
10 changed files with 117 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
class Wiki < ActiveRecord::Base
|
||||
belongs_to :project
|
||||
belongs_to :user
|
||||
has_many :notes, :as => :noteable, :dependent => :destroy
|
||||
|
||||
validates :content, :title, :user_id, :presence => true
|
||||
validates :title, :length => 1..250
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue