mailcatcher/lib/mail_catcher/web/assets.rb
2014-06-05 21:19:31 +10:00

14 lines
329 B
Ruby

require "sprockets"
require "sprockets-sass"
require "compass"
module MailCatcher
module Web
Assets = Sprockets::Environment.new(File.expand_path("#{__FILE__}/../../../..")).tap do |sprockets|
Dir["#{sprockets.root}/{,vendor}/assets/*"].each do |path|
sprockets.append_path(path)
end
end
end
end