diff --git a/app/helpers/sidebar_helper.rb b/app/helpers/sidebar_helper.rb index 7f2f82b41..1dd65d97e 100644 --- a/app/helpers/sidebar_helper.rb +++ b/app/helpers/sidebar_helper.rb @@ -40,6 +40,8 @@ module SidebarHelper return samples_my_module_url(my_module) when 'archive', 'module_archive', 'experiment_archive' return archive_my_module_url(my_module) + when 'repository' && @repository + return repository_my_module_url(id: my_module.id, repository_id: @repository.id) else return protocols_my_module_url(my_module) end