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
path: root/app/views
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-10-23 12:29:47 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-10-23 12:29:47 +0400
commitb2df61d85ab295a9ba4585f667537a9afc3efc6a (patch)
tree9a03faeb2668521e949b3708bcaa347d2977ac6d /app/views
parent9902f1af6edc0b6c0a935fb3578715d20636d76e (diff)
Fix 500 error on admin project if empty
Diffstat (limited to 'app/views')
-rw-r--r--app/views/admin/projects/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index f85b6e4b865..c742fb3365a 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -5,7 +5,7 @@
%i.icon-edit
Edit
-- if !@admin_project.has_post_receive_file? && @admin_project.commit
+- if !@admin_project.has_post_receive_file? && @admin_project.has_commits?
%br
.alert.alert-error
%span