mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
increase user stream from 10 to 100 items
This commit is contained in:
parent
305800d5a7
commit
2c0f0f7ff4
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user