From 2122319441be2b29294df12af80333d9fc0d58f6 Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Thu, 3 Mar 2016 18:01:38 +0100 Subject: [PATCH] Only public asciicasts can be candidates for "main homepage asciicast" --- config/cfg.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cfg.rb b/config/cfg.rb index 86445da..2f9e6be 100644 --- a/config/cfg.rb +++ b/config/cfg.rb @@ -23,7 +23,7 @@ module Asciinema if home_asciicast_id Asciicast.find(home_asciicast_id) else - Asciicast.last + Asciicast.non_private.last end end