Skip to content

Commit 2c0f0f7

Browse files
committed
increase user stream from 10 to 100 items
1 parent 305800d commit 2c0f0f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/users_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def show
88

99
@content = @user.public_content.select { |type, list| list.any? }
1010
@tabs = @content.keys
11-
@stream = ContentChangeEvent.where(user_id: @user.id).order('id desc').limit(10)
11+
@stream = ContentChangeEvent.where(user_id: @user.id).order('id desc').limit(100)
1212

1313
Mixpanel::Tracker.new(Rails.application.config.mixpanel_token).track(@user.id, 'viewed profile', {
1414
'sharing any content': @user.public_content_count != 0

0 commit comments

Comments
 (0)