diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-04 16:10:36 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-04 16:10:36 +0300 |
commit | 03598ca79b02a949b1d6cc1e64a701be2b65581f (patch) | |
tree | 6d067dd55b78e2c6ea844e1f200f8bf2e7e97cb8 /app/helpers/application_helper.rb | |
parent | 91a60743489f67766f1e06da56efa172fedaca89 (diff) |
Disable new repo on project show
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 44dacff5997..22f637946d9 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -307,6 +307,6 @@ module ApplicationHelper end def show_new_repo? - cookies["new_repo"] == "true" + cookies["new_repo"] == "true" && body_data_page != 'projects:show' end end |