Skip to content

Commit

Permalink
Fix nil reference to recent sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Feb 18, 2024
1 parent 0c8a03f commit 2c7983e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/application/index.haml
Expand Up @@ -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
Expand Down

0 comments on commit 2c7983e

Please sign in to comment.