lib/volt/server/rack/component_paths.rb
def asset_folders
      folders = []
      app_folders do |app_folder|
        Dir["#{app_folder}/*/assets"].sort.each do |asset_folder|
          folders << yield(asset_folder)
        end
      end

      folders.flatten
    end
# Return every asset folder we need to serve from
Return every asset folder we need to serve from
Return every asset folder we need to serve from
def asset_folders
      folders = []
      app_folders do |app_folder|
        Dir["#{app_folder}/*/assets"].sort.each do |asset_folder|
          folders << yield(asset_folder)
        end
      end
      folders.flatten
    end
def asset_folders folders = [ ] app_folders do | app_folder | Dir [ "#{app_folder}/*/assets" ] . sort . each do | asset_folder | folders << yield ( asset_folder ) end end folders . flatten end
Return every asset folder we need to serve from
Return every asset folder we need to serve from