Sha256: c397b4ccfc78d27e83bd65b27a8e4b3c23efb8bf0d43d62dc346f8165a959491
Contents?: true
Size: 309 Bytes
Versions: 5
Compression:
Stored size: 309 Bytes
Contents
module SelectionsHelper def selector(selection) if selection.leaf? link_to_unless selection.parent.try(:is_system), selection.name, edit_selection_selection_path(@parent, selection) else link_to selection.name, selection_selections_path(selection) end end end
Version data entries
5 entries across 5 versions & 1 rubygems