Sha256: ec7fb4f2b9b4e813e635dc2a82efa615f5c393d0925976d2f5f821e8f2a5b02d

Contents?: true

Size: 383 Bytes

Versions: 6

Compression:

Stored size: 383 Bytes

Contents

require "scavenger/config"
require "scavenger/view_helpers"
require "scavenger/compressor"

module Scavenger
  module Rails
    class Engine < ::Rails::Engine
      def initialize
        super
        Config.svg_directory = ::Rails.root.join("app", "assets", "svg")
        Config.sprite_path = ::Rails.root.join("app", "assets", "images", "sprite.svg")
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
scavenger-0.3.0 lib/scavenger.rb
scavenger-0.2.1 lib/scavenger.rb
scavenger-0.2.0 lib/scavenger.rb
scavenger-0.1.2 lib/scavenger.rb
scavenger-0.1.1 lib/scavenger.rb
scavenger-0.1.0 lib/scavenger.rb