class Lookbook::Collection
def find_parent(child)
def find_parent(child) parent_path = child.lookup_path.split("/").pop.join("/") find_by_path(parent_path) end
def find_parent(child) parent_path = child.lookup_path.split("/").pop.join("/") find_by_path(parent_path) end