Skip to content

Commit

Permalink
Removed Regexp from the asset pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
h-shima committed Nov 18, 2020
1 parent 287a9ed commit 43056b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ionicons-rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43056b9

Please sign in to comment.