mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-07 05:03:26 +08:00
Merge pull request #3087 from urbanrotnik/ur-sci-5397-folder-link-in-activities
Fix folder's activities links [SCI-5397]
This commit is contained in:
commit
2fa54d7898
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…
Reference in a new issue