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
|
@ -17,6 +17,8 @@ class NotesLoad < BaseContext
|
|||
then project.issues.find(target_id).notes.inc_author.order("created_at DESC").limit(20)
|
||||
when "merge_request"
|
||||
then project.merge_requests.find(target_id).notes.inc_author.order("created_at DESC").limit(20)
|
||||
when "wiki"
|
||||
then project.wikis.reverse.map {|w| w.notes.fresh }.flatten[0..20]
|
||||
end
|
||||
|
||||
@notes = if last_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue