Fixed issue not being able to create a new issue on an empty project.

This commit is contained in:
Stephan van Leeuwen 2014-12-30 18:53:46 +01:00
parent b753bfd145
commit 25c37b0e73
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
= link_to 'Create new label', new_project_label_path(issuable.project), target: :blank
.form-actions
- if contribution_guide_url(issuable.project) && !issuable.persisted?
- if !issuable.project.empty_repo? && contribution_guide_url(issuable.project) && !issuable.persisted?
%p
Please review the
%strong #{link_to 'guidelines for contribution', contribution_guide_url(issuable.project)}