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:
authorDrew Blessing <drew@gitlab.com>2015-12-21 23:56:11 +0300
committerDrew Blessing <drew@gitlab.com>2015-12-22 00:58:42 +0300
commit66a8281fddf8e4f9d39265a6bfb38e8a6a8309c2 (patch)
tree9000295dcce16e5d319d5e10938d5dfcb6c4c932 /app/views/projects/show.html.haml
parentf4c05ee45fda4ee2c76f4cbecb0dc6a1f80d2e83 (diff)
Fix and test leave project display
Diffstat (limited to 'app/views/projects/show.html.haml')
-rw-r--r--app/views/projects/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 9c7a5584da9..7466a098e24 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -71,7 +71,7 @@
= render default_project_view
- if current_user
- - access = user_max_access_in_project(current_user, @project)
+ - access = user_max_access_in_project(current_user.id, @project)
- if access
.prepend-top-20.project-footer
.gray-content-block.footer-block.center