Sha256: c2e40378e3aa352fe0003f9a5fc014259590ac78c0163cba82482039e9570833
Contents?: true
Size: 238 Bytes
Versions: 1
Compression:
Stored size: 238 Bytes
Contents
<% module_namespacing do -%> module Views class <%= class_name %> < ApplicationView include Phlex::Collection def collection_template(&) ul(&) end def item_template li { @item } end end end <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phlex-0.4.0 | lib/generators/phlex/collection/templates/collection.rb.erb |