diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-18 16:17:30 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-18 16:17:30 -0700 |
commit | e7e329d36402ff84f4ba08184283853518136d7f (patch) | |
tree | 3fb243e3ad66b97fcf8a831afdf0a69a3db18ed9 | |
parent | 7ed6da5454c98e78770cee13ac929f5f608a34a1 (diff) | |
download | gitlab-ce-e7e329d36402ff84f4ba08184283853518136d7f.tar.gz |
Fix link to project from fork
-rw-r--r-- | app/views/projects/show.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index 822e67c5616..d5a44b7ed51 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -44,7 +44,7 @@ %i.fa.fa-code-fork.project-fork-icon Forked from: %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? - if version = @repository.version @@ -64,7 +64,7 @@ - if @repository.license = link_to license_url(@project), class: 'btn btn-block' do 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 Compare code |