create and display upcoming event section

This commit is contained in:
Torsten
2023-08-31 12:48:20 +03:00
parent cac691d121
commit 973ede68b2
10 changed files with 42 additions and 17 deletions

View File

@ -19,7 +19,7 @@ module ApplicationHelper
"mr-3 inline-block rounded-lg px-3 py-2 text-md font-medium border border-gray-500"
end
def image_for(someone , classes = "")
def picture_for(someone , classes = "")
if someone.picture.blank?
image = asset_url("no_image.png")
else