summaryrefslogtreecommitdiff
path: root/app/controllers/groups_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-28 11:38:20 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-28 11:38:20 +0200
commit33aea41708b94f480b6eaad760e26abe17a37dfa (patch)
treea1e0620cb16192cbdb5ec3a36041a9a94a348194 /app/controllers/groups_controller.rb
parent70c2e1d773291b4854da5a3b479baa352428bb4b (diff)
downloadgitlab-ce-33aea41708b94f480b6eaad760e26abe17a37dfa.tar.gz
Drop rjs from Infinite scrolling
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r--app/controllers/groups_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index bb46af14d52..fd0aa03476c 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -38,7 +38,7 @@ class GroupsController < ApplicationController
respond_to do |format|
format.html
- format.js
+ format.json { pager_json("events/_events", @events.count) }
format.atom { render layout: false }
end
end