# File lib/cgikit/component.rb, line 335 def search_path( filename ) application.component_paths.each do |path| paths = [File.join(path, filename), File.join(path, base_name, filename)] paths.each do |path| if FileTest.exist?(path.untaint) then @path = path return path end end end nil end