mailcatcher/lib/mail_catcher/web/assets.rb

16 lines
344 B
Ruby
Raw Normal View History

2014-03-17 01:53:13 -04:00
require "sprockets"
require "sprockets-sass"
require "compass"
require "mail_catcher/web/application"
module MailCatcher
module Web
Assets = Sprockets::Environment.new(Application.root).tap do |sprockets|
Dir["#{Application.root}/{,vendor}/assets/*"].each do |path|
sprockets.append_path(path)
end
end
end
end