summaryrefslogtreecommitdiff
path: root/app/controllers/notes_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-27 20:34:55 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-27 20:34:55 +0200
commitcd5c4bac5042c5469dcdf7e7b2f768d3c6fd7088 (patch)
tree3ea0a545ce5a66c410ca7d74f22a11b80847fcb3 /app/controllers/notes_controller.rb
parent8470d70da67355c9c009e4401746b1d5410af2e3 (diff)
downloadgitlab-ce-cd5c4bac5042c5469dcdf7e7b2f768d3c6fd7088.tar.gz
notes count for wall
Diffstat (limited to 'app/controllers/notes_controller.rb')
-rw-r--r--app/controllers/notes_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb
index 52cfb898248..a2638d9597c 100644
--- a/app/controllers/notes_controller.rb
+++ b/app/controllers/notes_controller.rb
@@ -46,7 +46,7 @@ class NotesController < ApplicationController
when "snippet"
then project.snippets.find(params[:target_id]).notes
when "wall"
- then project.common_notes.order("created_at DESC").fresh.limit(10)
+ then project.common_notes.order("created_at DESC").fresh.limit(50)
when "issue"
then project.issues.find(params[:target_id]).notes.inc_author.order("created_at DESC").limit(20)
when "merge_request"