Skip to content

Commit 8f616d1

Browse files
committed
fixed outlining again
1 parent b646f54 commit 8f616d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/models/member.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ def underage?
247247
end
248248

249249
def underage_at?(event_date)
250-
return birth_date.blank? ||
251-
((18.years.ago + (event_date - Date.today))
252-
< birth_date)
250+
return birth_date.blank?
251+
252+
return ((18.years.ago + (event_date - Date.today)) < birth_date)
253253
end
254254

255255
def master?

0 commit comments

Comments
 (0)