From 996f4b7289887d16e12629c7ad8589c280a9870e Mon Sep 17 00:00:00 2001 From: Martin Waeir <0xd34dk4tz@gmail.com> Date: Thu, 24 Aug 2017 16:32:25 +0300 Subject: [PATCH] Fixed imports The old method didn't work correctly in Rails 5 --- app/assets/stylesheets/photoswipe/index.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/photoswipe/index.scss b/app/assets/stylesheets/photoswipe/index.scss index 31fcce0..d9957a0 100644 --- a/app/assets/stylesheets/photoswipe/index.scss +++ b/app/assets/stylesheets/photoswipe/index.scss @@ -1,4 +1,2 @@ -/* - *= require ./photoswipe.scss - *= require ./default-skin/default-skin.scss - */ +@import 'photoswipe'; +@import 'default-skin/default-skin'