Use #image_path helper correctly

Paths should be relative. For example an image under `/app/assets/images/home/banner.jpg` should be: `image_path("home/banner.jpg")`
This commit is contained in:
Matt-Yorkley
2020-06-16 18:24:03 +02:00
parent c07476e22c
commit add38bf550
27 changed files with 30 additions and 30 deletions

View File

@@ -1,3 +1,3 @@
%div.sixteen.columns.alpha.omega#loading{ ng: { cloak: true, if: 'shop_id && RequestMonitor.loading' } }
%img.spinner{ src: "/assets/spinning-circles.svg" }
%img.spinner{ src: image_path("spinning-circles.svg") }
%h1= t('.loading')