Commit e7e329d3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix link to project from fork

parent 7ed6da54
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
%i.fa.fa-code-fork.project-fork-icon %i.fa.fa-code-fork.project-fork-icon
Forked from: Forked from:
%br %br
= link_to @project.forked_from_project.name_with_namespace, namespace_project_path(@project.namespace, @project.forked_from_project) = link_to @project.forked_from_project.name_with_namespace, project_path(@project.forked_from_project)
- unless @project.empty_repo? - unless @project.empty_repo?
- if version = @repository.version - if version = @repository.version
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
- if @repository.license - if @repository.license
= link_to license_url(@project), class: 'btn btn-block' do = link_to license_url(@project), class: 'btn btn-block' do
View license View license
= link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: @ref || @repository.root_ref), class: 'btn btn-block' do = link_to namespace_project_compare_index_path(@project.namespace, @project, from: @repository.root_ref, to: @ref || @repository.root_ref), class: 'btn btn-block' do
Compare code Compare code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment