0
0
Fork 0

Redesign landing page (#10232)

This commit is contained in:
Eugen Rochko 2019-03-12 17:34:00 +01:00 committed by GitHub
parent 6a8dc59eb8
commit 65fffeac3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 518 additions and 1621 deletions

View file

@ -56,4 +56,12 @@ module HomeHelper
'emojify'
end
end
def optional_link_to(condition, path, options = {}, &block)
if condition
link_to(path, options, &block)
else
content_tag(:div, &block)
end
end
end