From 2c0f0f7ff4aa024057c081964048c255fc0a2fac Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Sun, 11 Feb 2018 23:47:21 -0600 Subject: [PATCH] increase user stream from 10 to 100 items --- app/controllers/users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 6fb3cf07..5a452c7a 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -8,7 +8,7 @@ class UsersController < ApplicationController @content = @user.public_content.select { |type, list| list.any? } @tabs = @content.keys - @stream = ContentChangeEvent.where(user_id: @user.id).order('id desc').limit(10) + @stream = ContentChangeEvent.where(user_id: @user.id).order('id desc').limit(100) Mixpanel::Tracker.new(Rails.application.config.mixpanel_token).track(@user.id, 'viewed profile', { 'sharing any content': @user.public_content_count != 0