From 2c7983ea56eb17d6576c5b5a234c842589e208ca Mon Sep 17 00:00:00 2001 From: BGMP Date: Sat, 17 Feb 2024 23:23:11 -0300 Subject: [PATCH] Fix nil reference to recent sessions --- app/views/application/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/application/index.haml b/app/views/application/index.haml index ef1ff775..c1cbbf1c 100644 --- a/app/views/application/index.haml +++ b/app/views/application/index.haml @@ -24,7 +24,7 @@ %a.btn-important{ href: about_path, role: "button" } About Us ยป #recent.mt-5 - - if @recent_sessions.any? + - if @recent_sessions&.any? %h6.pb-2.mb-0 = "Recent Sessions" .media-group