class ActionView::DependencyTracker::ERBTracker
def add_static_dependency(dependencies, dependency, quote_type)
def add_static_dependency(dependencies, dependency, quote_type) if quote_type == '"' # Ignore if there is interpolation return if dependency.include?('#{') end if dependency if dependency.include?("/") dependencies << dependency else dependencies << "#{directory}/#{dependency}" end end end