Skip to content

Commit

Permalink
Fix a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
glacials committed Oct 21, 2024
1 parent c73e3c5 commit 39ff73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.slim
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ html lang='en'
small: #hide-survey-button.text-secondary style='cursor: pointer' no thanks
a#survey-button.btn.btn-outline-warning.btn-block.mb-0.text-center href=survey_url
' Help us out by taking the Splits.io survey!
- entry = current_user&.entries.nonghosts.active.first
- entry = current_user&.entries&.nonghosts&.active&.first
- if entry.present? && request.path != race_path(entry.race)
.p-1.col-md-6.mx-auto
a.btn.btn-success.btn-block.mb-0.text-center.glow href=race_path(entry.race)
Expand Down

0 comments on commit 39ff73a

Please sign in to comment.