diff options
Diffstat (limited to 'app/controllers/repositories/git_http_controller.rb')
-rw-r--r-- | app/controllers/repositories/git_http_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/repositories/git_http_controller.rb b/app/controllers/repositories/git_http_controller.rb index 29bff3ef1e9..9e134ba9526 100644 --- a/app/controllers/repositories/git_http_controller.rb +++ b/app/controllers/repositories/git_http_controller.rb @@ -121,7 +121,7 @@ module Repositories def snippet_request_allowed? if repo_type.snippet? && Feature.disabled?(:version_snippets, user) Gitlab::AppLogger.info('Snippet access attempt with feature disabled') - render plain: 'The project you were looking for could not be found.', status: :not_found + render plain: 'Snippet git access is disabled.', status: :forbidden end end end |