mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 15:45:34 +08:00
Fix experiment archive page route [SCI-5479]
This commit is contained in:
parent
41cdc47702
commit
8191306411
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…
Add table
Reference in a new issue