diff --git a/app/views/public/home/_slide.html.haml b/app/views/public/home/_slide.html.haml index c322766..db8e381 100644 --- a/app/views/public/home/_slide.html.haml +++ b/app/views/public/home/_slide.html.haml @@ -7,11 +7,11 @@ .title - =link_to slide.title, url if slide.image_file + =link_to slide.title, url .description =link_to simple_format(slide.description), url - .image_file=link_to image_tag( slide.image_file.file.large.medium.url), url + .image_file=link_to image_tag( slide.image_file.file.large.medium.url), url if slide.image_file .cible= link_to image_tag('front/en-savoir-plus-gris.png'), url