Dir.glob("#{Rails.root}/app/templates/#{Site.first.template}").each do |path|
  Rails.application.config.assets.paths << "#{path}/assets/stylesheets"
  Rails.application.config.assets.paths << "#{path}/assets/javascripts"
  Rails.application.config.assets.paths << "#{path}/assets/images"
  Rails.application.config.assets.paths << "#{path}/assets/fonts"
end