dumb...fix order of link_to args

This commit is contained in:
Michael Ball 2020-01-07 02:47:33 -08:00
parent bea9f79544
commit 1bcf1b8f06

View file

@ -37,7 +37,7 @@
.caption .caption
%h3.text-center %h3.text-center
- if lodging.website_link.present? - if lodging.website_link.present?
= link_to(lodging.website_link, lodging.name) = link_to(lodging.name, lodging.website_link)
- else - else
= lodging.name = lodging.name
- if lodging.description.present? - if lodging.description.present?