diff --git a/app/models/.lodging.rb.swp b/app/models/.lodging.rb.swp new file mode 100644 index 00000000..70c3567d Binary files /dev/null and b/app/models/.lodging.rb.swp differ diff --git a/app/views/admin/lodgings/index.html.haml b/app/views/admin/lodgings/index.html.haml index c2e011f9..67b5e3df 100644 --- a/app/views/admin/lodgings/index.html.haml +++ b/app/views/admin/lodgings/index.html.haml @@ -16,9 +16,9 @@ - else - if lodging.website_link.present? = link_to(lodging.website_link, class: 'thumbnail') do - = image_tag lodging.picture.thumb, class: 'img-responsive img-lodging' + = image_tag lodging.picture.thumb.url, class: 'img-responsive img-lodging' - else - = image_tag lodging.picture.thumb, class: 'img-responsive img-lodging' + = image_tag lodging.picture.thumb.url, class: 'img-responsive img-lodging' .caption %h3.text-center = lodging.name