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

This commit is contained in:
Daniel O'Connor committed 2016-03-28 21:41:06 +10:30
1 parent e35b15c868
commit 9fa72fa5f7
1 file changed
+1 -1
+1 -1
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