mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Merge pull request #3153 from aignatov-bio/ai-sci-5479-fix-experimnet-archive-page-route
Fix experiment archive page route [SCI-5479]
This commit is contained in:
commit
d46057d39b
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<% if record[:project] %>
|
||||
<li class="sidebar-leaf">
|
||||
<% if record[:project].archived? %>
|
||||
<%= link_to record[:project].name, experiment_archive_project_url(record[:project]), class: 'sidebar-link' %>
|
||||
<%= link_to record[:project].name, project_url(record[:project], view_mode: :archived), class: 'sidebar-link' %>
|
||||
<% else %>
|
||||
<%= link_to record[:project].name, project_url(record[:project]), class: 'sidebar-link' %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue