From 87d1d02bb239c33cc0fb7a4f133898a24564ffad Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sat, 22 Dec 2012 03:43:25 -0500 Subject: [PATCH] added limit to how many topics can show up on main console for testing --- app/controllers/main_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index d2cee820..1668e4b3 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -12,6 +12,7 @@ class MainController < ApplicationController if authenticated? @synapses = Synapse.visibleToUser(@current, nil) + @synapses.slice(0, 50) @items = synapses_as_json(@current, @synapses).html_safe respond_to do |format|