mailcatcher/lib/mail_catcher/web/assets.rb

14 lines
329 B
Ruby
Raw Normal View History

2014-03-17 01:53:13 -04:00
require "sprockets"
require "sprockets-sass"
require "compass"
module MailCatcher
module Web
2014-06-05 07:19:31 -04:00
Assets = Sprockets::Environment.new(File.expand_path("#{__FILE__}/../../../..")).tap do |sprockets|
Dir["#{sprockets.root}/{,vendor}/assets/*"].each do |path|
2014-03-17 01:53:13 -04:00
sprockets.append_path(path)
end
end
end
end