class TrustyCms::Setup
def find_and_load_templates(glob)
def find_and_load_templates(glob) templates = Dir[glob] templates.map! { |template| load_template_file(template) } templates.sort_by { |template| template['name'] } end
def find_and_load_templates(glob) templates = Dir[glob] templates.map! { |template| load_template_file(template) } templates.sort_by { |template| template['name'] } end