summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/controllers/users_controller.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 95ee9e83dbd..5c618001fdf 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -21,7 +21,12 @@ class UsersController < ApplicationController
respond_to do |format|
format.html
- format.atom { render layout: false }
+
+ format.atom do
+ load_events
+ render layout: false
+ end
+
format.json do
load_events
pager_json("events/_events", @events.count)