Sha256: fcf0870af01aaab40c4d803b04faf578d5714024bd23aa0f73740486b1720bb2
Contents?: true
Size: 543 Bytes
Versions: 30
Compression:
Stored size: 543 Bytes
Contents
- title "New #{ @node.type.underscore.humanize.downcase }" - if @parent - for node in @parent.self_and_ancestors.reverse - breadcrumbs.add node.title, push_type.node_nodes_path(node) - breadcrumbs.add yield(:title), push_type.new_node_node_path(@parent, kind: @node.type.underscore) - else - breadcrumbs.add yield(:title), push_type.new_node_path(kind: @node.type.underscore) = render 'form_fields', url: @parent ? push_type.node_nodes_path(@parent, kind: @node.type.underscore) : push_type.nodes_path(kind: @node.type.underscore)
Version data entries
30 entries across 30 versions & 1 rubygems