diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-01 20:32:30 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-01 20:32:30 +0100 |
commit | 8b02d962abd47e9e9c3bbd51bdd285bbb476b8d1 (patch) | |
tree | 1fc7db08bd80d5e9112620849b9bf518b4736402 /app/controllers | |
parent | 6be22dbbe3b1f7bc8c396a98a83f5c5b51a4bbca (diff) | |
download | gitlab-ce-8b02d962abd47e9e9c3bbd51bdd285bbb476b8d1.tar.gz |
Do not require authentication for CI status badgefix/deprecated-ci-badge-permissions
This changes only deprecated CI badge that we keep for backwards
compatibility. See !3030#note_4041498.
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/ci/projects_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/ci/projects_controller.rb b/app/controllers/ci/projects_controller.rb index 471cebc82f6..081e01a75e0 100644 --- a/app/controllers/ci/projects_controller.rb +++ b/app/controllers/ci/projects_controller.rb @@ -19,7 +19,6 @@ module Ci # def badge return render_404 unless @project - authenticate_user! unless @project.public? image = Ci::ImageForBuildService.new.execute(@project, params) send_file image.path, filename: image.name, disposition: 'inline', type:"image/svg+xml" |