dumb...fix order of link_to args
This commit is contained in:
parent
bea9f79544
commit
1bcf1b8f06
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@
|
|||
.caption
|
||||
%h3.text-center
|
||||
- if lodging.website_link.present?
|
||||
= link_to(lodging.website_link, lodging.name)
|
||||
= link_to(lodging.name, lodging.website_link)
|
||||
- else
|
||||
= lodging.name
|
||||
- if lodging.description.present?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue