Sha256: d31b8b4eb532bcad9c0cc5f54a7395f20764b785c71231469ad1ccfacb9bcf09

Contents?: true

Size: 301 Bytes

Versions: 7

Compression:

Stored size: 301 Bytes

Contents

= react_component 'ResourceIndexRoot',
    title: '<%= plural_name.titleize %>',
    breadcrumbs: breadcrumb_links,
    recordsPath: <%= plural_name %>_path(format: 'json'),
<% if reorderable? -%>
    reorderPath: reorder_<%= plural_name %>_path,
<% end -%>
    newPath: new_<%= singular_name %>_path

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tenon-2.0.6 lib/generators/tenon/scaffold/templates/view_index.html.haml
tenon-2.0.5 lib/generators/tenon/scaffold/templates/view_index.html.haml
tenon-2.0.4 lib/generators/tenon/scaffold/templates/view_index.html.haml
tenon-2.0.3 lib/generators/tenon/scaffold/templates/view_index.html.haml
tenon-2.0.2 lib/generators/tenon/scaffold/templates/view_index.html.haml
tenon-2.0.1 lib/generators/tenon/scaffold/templates/view_index.html.haml
tenon-2.0.0 lib/generators/tenon/scaffold/templates/view_index.html.haml