summaryrefslogtreecommitdiff
path: root/app/views/projects/forks/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/forks/new.html.haml')
-rw-r--r--app/views/projects/forks/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/forks/new.html.haml b/app/views/projects/forks/new.html.haml
index 5242bc72b71..7b9ec85933e 100644
--- a/app/views/projects/forks/new.html.haml
+++ b/app/views/projects/forks/new.html.haml
@@ -30,7 +30,7 @@
= namespace.human_name
- else
.fork-thumbnail
- = link_to namespace_project_forks_path(@project.namespace, @project, namespace_key: namespace.id), method: "POST" do
+ = link_to namespace_project_forks_path(*@project, namespace_key: namespace.id), method: "POST" do
- if /no_((\w*)_)*avatar/.match(avatar)
.no-avatar
= icon 'question'