discourse/lib/tasks/svg_sprites.rake
Daniel Waterworth 84f590ab83
DEV: Store theme sprites in the DB ()
Let's avoid fetching sprites from the CDN during page rendering.
2023-03-14 13:11:45 -05:00

6 lines
119 B
Ruby

# frozen_string_literal: true
task "svg_sprites:refetch" => [:environment] do |_, args|
ThemeSvgSprite.refetch!
end