mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2026-01-07 08:44:29 +08:00
Fix folder's activities links
This commit is contained in:
parent
7cd85d8e9d
commit
531b6cd554
2 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ module GlobalActivitiesHelper
|
|||
when Report
|
||||
path = reports_path(team: obj.team.id)
|
||||
when ProjectFolder
|
||||
path = projects_path
|
||||
path = project_folder_path(obj, team: obj.team.id)
|
||||
else
|
||||
return current_value
|
||||
end
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<span class="fas fa-folder"></span>
|
||||
|
||||
<% if subject %>
|
||||
<% path = projects_path(team: team) %>
|
||||
<% path = project_folder_path(subject, team: team) %>
|
||||
<%= route_to_other_team(path,
|
||||
team,
|
||||
subject.name&.truncate(Constants::NAME_TRUNCATION_LENGTH),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue