Only render a pipe if there are multiple options like edit rights available

This commit is contained in:
Daniel O'Connor
2016-03-28 21:02:02 +10:30
parent e35b15c868
commit 9fa72fa5f7

View File

@@ -11,5 +11,5 @@
- if can? :edit, @alternate_name
= link_to 'Edit', edit_alternate_name_path(@alternate_name), :class => 'btn btn-default btn-xs'
\|
\|
= link_to 'Back', alternate_names_path