diff options
author | Rémy Coutable <remy@rymai.me> | 2019-04-17 13:30:49 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-04-17 13:30:49 +0300 |
commit | cfa5c30792ced178e53d1f7782ae027204ce8821 (patch) | |
tree | 31e7251dd6d2a57739ce6544ca5131955ef7f612 /app/helpers/projects_helper.rb | |
parent | 128f91fce7a62c7f6c444e670a00294ce1b777a1 (diff) | |
parent | e052d49a4c342624d5f6c6a7e1354ea6a8003d05 (diff) |
Merge branch '24704-restore-download-repository-path' into 'master'
Restore "download repository path" feature, now with fixes and a feature flag
Closes gitlab-workhorse#218 and #24704
See merge request gitlab-org/gitlab-ce!27275
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r-- | app/helpers/projects_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 7da51da8473..2ac90eb8d9f 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -299,6 +299,10 @@ module ProjectsHelper }.to_json end + def directory? + @path.present? + end + def external_classification_label_help_message default_label = ::Gitlab::CurrentSettings.current_application_settings .external_authorization_service_default_label |