class Sprockets::DirectiveProcessor

def process_link_directory_directive(path = ".", accept = nil)


//= link_directory "./scripts" .js

extension or content type in these cases
Use caution when linking against JS or CSS assets. Include an explicit

//= link_directory "./fonts"

nested directories.
directory. It's similar to `path/*` since it does not follow
`link_directory` links all the files inside a single
def process_link_directory_directive(path = ".", accept = nil)
  path = expand_relative_dirname(:link_directory, path)
  accept = expand_accept_shorthand(accept)
  link_paths(*@environment.stat_directory_with_dependencies(path), accept)
end