aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/decorators/import_decorator.rb8
-rw-r--r--app/views/imports/index.html.slim2
2 files changed, 1 insertions, 9 deletions
diff --git a/app/decorators/import_decorator.rb b/app/decorators/import_decorator.rb
index e748f830d..8b00234d2 100644
--- a/app/decorators/import_decorator.rb
+++ b/app/decorators/import_decorator.rb
@@ -16,14 +16,6 @@ class ImportDecorator < Draper::Decorator
links = []
links << Link.new(
- content: h.t('imports.actions.show'),
- href: h.workbench_import_path(
- context[:workbench],
- object
- )
- )
-
- links << Link.new(
content: h.t('imports.actions.download'),
href: object.file.url
)
diff --git a/app/views/imports/index.html.slim b/app/views/imports/index.html.slim
index 79452bbfc..856b715e0 100644
--- a/app/views/imports/index.html.slim
+++ b/app/views/imports/index.html.slim
@@ -34,7 +34,7 @@
attribute: 'creator' \
) \
],
- links: [],
+ links: [:show],
cls: 'table has-search'
= new_pagination @imports, 'pull-right'