From 43056b9509aaa67f113e55c585e7a1188233f5c1 Mon Sep 17 00:00:00 2001 From: Hiroki Oshima Date: Wed, 18 Nov 2020 21:02:00 +0900 Subject: [PATCH] Removed Regexp from the asset pipeline --- lib/ionicons-rails.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ionicons-rails.rb b/lib/ionicons-rails.rb index d3fc17b..e69b500 100644 --- a/lib/ionicons-rails.rb +++ b/lib/ionicons-rails.rb @@ -2,7 +2,7 @@ module Ionicons module Rails class Engine < ::Rails::Engine initializer "ionicons-rails.assets.precompile" do |app| - app.config.assets.precompile << %r(ionicons\.(?:eot|svg|ttf|woff)$) + app.config.assets.precompile += %w(ionicons.eof ionicons.svg ionicons.ttf ionicons.woff) end end end