mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 11:14:24 +08:00
Fix sidebar for repositories
Closes SCI-1335.
This commit is contained in:
parent
5ac0ed4505
commit
cfb734704e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue