Sha256: bf42af1a15f6dc0a129e55920325069a06ea4fb5c23fd2d40afec70d6f8c82cb

Contents?: true

Size: 157 Bytes

Versions: 1

Compression:

Stored size: 157 Bytes

Contents

module ConstructorPages
  module PagesHelper
    def templates_tree(templates)
      templates.map{|t| ["#{'--'*t.level} #{t.name}", t.id]}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
constructor-pages-1.0.0beta2 app/helpers/constructor_pages/pages_helper.rb