From 582437f40df87b6cc1d1afadcf4cc766790044bf Mon Sep 17 00:00:00 2001 From: Martin Van Aken Date: Tue, 9 Jun 2020 12:13:39 +0200 Subject: [PATCH] limit output --- app/controllers/effin_quotes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/effin_quotes_controller.rb b/app/controllers/effin_quotes_controller.rb index 07f13aa..3e72a0a 100644 --- a/app/controllers/effin_quotes_controller.rb +++ b/app/controllers/effin_quotes_controller.rb @@ -6,7 +6,7 @@ def index end def logs - @logs = EffinLog.order(created_at: :desc) + @logs = EffinLog.order(created_at: :desc).limit(50) end def home; end