From d9dc1af6ccab6bfdd3f8565ed7d2e01578593a21 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 5 Jun 2014 21:35:20 +0400 Subject: [PATCH] Fixed: links to forked projects --- app/views/projects/git/base/_choose_fork.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/git/base/_choose_fork.html.haml b/app/views/projects/git/base/_choose_fork.html.haml index 6f36e07de..0d8ec5b4e 100644 --- a/app/views/projects/git/base/_choose_fork.html.haml +++ b/app/views/projects/git/base/_choose_fork.html.haml @@ -4,7 +4,7 @@ - if owner.own_projects.exists? name: name %p.center =t 'layout.projects.already_exists' - =link_to full_name, project_path(@project) + =link_to full_name, project_path("#{owner.uname}/#{name}") - else = form_for @project, url: fork_project_path(@project), html: { class: :form, multipart: true, method: :post } do |f| = hidden_field_tag :group, owner.id if owner.class == Group