Skip to content

Instantly share code, notes, and snippets.

@SLiNv
Created April 11, 2019 02:22
Show Gist options
  • Save SLiNv/6cec40e8ba0228024b05488575b4f21e to your computer and use it in GitHub Desktop.
Save SLiNv/6cec40e8ba0228024b05488575b4f21e to your computer and use it in GitHub Desktop.
def find_all_anywhere(name, prefix, partial = false, details = {}, key = nil, locals = [])
cached(key, [name, prefix, partial], details, locals) do
find_templates(name, prefix, partial, details, true)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment