summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-12-16 18:58:24 +0100
committerRémy Coutable <remy@rymai.me>2016-12-20 16:11:09 +0100
commit5652da8bb4ea26acd35a241683e242439fefdd33 (patch)
tree913d4c0936de7b623a1d9297aa8421f7f6805868 /lib
parentd84cfeaf21bb60c09061ad6c7bf135c37d063162 (diff)
downloadgitlab-ce-5652da8bb4ea26acd35a241683e242439fefdd33.tar.gz
Allow unauthenticated access to Repositories Files API GET endpoints
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r--lib/api/files.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/files.rb b/lib/api/files.rb
index 28f306e45f3..532a317c89e 100644
--- a/lib/api/files.rb
+++ b/lib/api/files.rb
@@ -1,8 +1,6 @@
module API
# Projects API
class Files < Grape::API
- before { authenticate! }
-
helpers do
def commit_params(attrs)
{