attempt two at array max limit on home page
This commit is contained in:
parent
87d1d02bb2
commit
55328aaf3a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class MainController < ApplicationController
|
|||
|
||||
if authenticated?
|
||||
@synapses = Synapse.visibleToUser(@current, nil)
|
||||
@synapses.slice(0, 50)
|
||||
@synapses = @synapses.slice(0, 50)
|
||||
@items = synapses_as_json(@current, @synapses).html_safe
|
||||
|
||||
respond_to do |format|
|
||||
|
|
Loading…
Reference in a new issue