Sha256: f506caf6f4887893da1ea1d895acf957165d7c929b19c66979fe345f7242dcca
Contents?: true
Size: 336 Bytes
Versions: 22
Compression:
Stored size: 336 Bytes
Contents
class <%= plural_name.camelize %>::Show < Mustache::Rails <% for attribute in attributes -%> def <%= attribute.name %> <%= singular_name %>.<%= attribute.name %> end <% end -%> def edit_path edit_<%= singular_name %>_path(@<%= singular_name %>) end def index_path <%= plural_name %>_path end end
Version data entries
22 entries across 22 versions & 2 rubygems