From 8c9eb5e1108f4d7e182c9984d667ed7cf4adc006 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 14 Jun 2017 18:35:41 +0200 Subject: workbenches/show.html.slim: Remove duplicate links in `table_builder` Now that we have the [:archive, :unarchive, :delete] links present in `ReferentialDecorator#action_links`, we don't need to include them here. Otherwise the links are duplicated between the custom links defined here and those that come from the `ReferentialDecorator`. Refs #3479 --- app/views/workbenches/show.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim index 3c2bb26ec..6dec68f7a 100644 --- a/app/views/workbenches/show.html.slim +++ b/app/views/workbenches/show.html.slim @@ -58,7 +58,7 @@ ) \ ], selectable: true, - links: [:show, :edit, :archive, :unarchive, :delete], + links: [:show, :edit], cls: 'table has-filter has-search' / [:delete], -- cgit v1.2.3