Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-26 06:34:16 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-26 06:34:16 +0300
commit1da71cc520dd09098d8f756de3f58b8e2f153fcd (patch)
tree4f78552d8e11d2e185f2c7e944f049459a507d90 /app/views/projects/no_repo.html.haml
parentcd6baa141528f6d4e676715c2d3995fdc05e9544 (diff)
Introduce shortcuts for routing helpers
Diffstat (limited to 'app/views/projects/no_repo.html.haml')
-rw-r--r--app/views/projects/no_repo.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/no_repo.html.haml b/app/views/projects/no_repo.html.haml
index e8fd90efd1f..720957e8336 100644
--- a/app/views/projects/no_repo.html.haml
+++ b/app/views/projects/no_repo.html.haml
@@ -19,4 +19,4 @@
- if can? current_user, :remove_project, @project
.prepend-top-20
- = link_to 'Remove project', namespace_project_path(@project.namespace, @project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-remove pull-right"
+ = link_to 'Remove project', project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-remove pull-right"