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
|
.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?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue