increase user stream from 10 to 100 items

This commit is contained in:
Andrew Brown 2018-02-11 23:47:21 -06:00
parent 305800d5a7
commit 2c0f0f7ff4

View File

@ -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