Skip to content

Commit

Permalink
Fix inherited package link
Browse files Browse the repository at this point in the history
The inherited packages were pointing to the original project and not to
the current one.
  • Loading branch information
DavidKang committed Jan 24, 2019
1 parent 958f6fc commit 0274d7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -10,6 +10,6 @@
- inherited_packages.each do |package|
%tr
%td
= link_to(package.first, package_show_path(package: package.first, project: package.second))
= link_to(package.first, package_show_path(package: package.first, project: project))
%td
= package.second
2 changes: 1 addition & 1 deletion src/api/app/views/webui2/webui/project/show.html.haml
Expand Up @@ -58,7 +58,7 @@
.tab-pane.fade.show.active#packages{ role: 'tabpanel', aria: { labelledby: 'packages-tab' } }
= render partial: 'project_packages', locals: { project: @project, packages: @packages }
.tab-pane.fade#inherited-packages{ role: 'tabpanel', aria: { labelledby: 'inherited-packages-tab' } }
= render partial: 'project_inherited_packages', locals: { inherited_packages: @ipackages }
= render partial: 'project_inherited_packages', locals: { project: @project, inherited_packages: @ipackages }
.comments
.card
%h5.card-header
Expand Down

0 comments on commit 0274d7d

Please sign in to comment.