config/initializers/assets.rb
Use String#include?
instead of a regex match with literal-only pattern. Open
Open
path =~ %r{app/assets} && !%w(.js .css).include?(File.extname(filename))
- Create a ticketCreate a ticket
- Exclude checks