class Sprockets::DirectiveProcessor
def process_link_tree_directive(path = ".", accept = nil)
//= link_tree "./styles" .css
extension or content type in these cases
Use caution when linking against JS or CSS assets. Include an explicit
//= link_tree "./images"
Its glob equivalent is `path/**/*`.
`link_tree` links all the nested files in a directory.
def process_link_tree_directive(path = ".", accept = nil) path = expand_relative_dirname(:link_tree, path) accept = expand_accept_shorthand(accept) link_paths(*@environment.stat_sorted_tree_with_dependencies(path), accept) end