6
7
8
9
10
11
12
13
14
15
16
17
18
|
# File 'lib/confluence/railties/resolver.rb', line 6
def find_templates(name, prefix, partial, details)
if partial
gem_directory = _get_gem_directory prefix
partial_path = _get_partial_path name, gem_directory
handler = _get_handler_from_nothing
source = _get_source_from_path(partial_path)
identifier = _get_identifier name, prefix
normalized_details = _normalize_details(partial_path, details)
_get_templates( source, identifier, handler, normalized_details )
else
[]
end
end
|