diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-03-24 15:18:27 -0700 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-03-24 15:18:27 -0700 |
commit | bbf6019dd87fcf95c584addc253bf8333809f4c8 (patch) | |
tree | b3992af5a2ccdd5b49559279a08d819b8c78a583 /app/helpers/projects_helper.rb | |
parent | c3c9703437a552700c2a6ca010b05cc56aa6d73a (diff) | |
download | gitlab-ce-bbf6019dd87fcf95c584addc253bf8333809f4c8.tar.gz |
Milestones and labels can be used even when issues are disabled.
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r-- | app/helpers/projects_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 77ad7a40fab..7bf51b5b8e8 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -146,7 +146,7 @@ module ProjectsHelper nav_tabs << feature if project.send :"#{feature}_enabled" end - if project.issues_enabled + if project.issues_enabled || project.merge_requests_enabled nav_tabs << [:milestones, :labels] end |