Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-12-16 20:58:24 +0300
committerRémy Coutable <remy@rymai.me>2016-12-20 18:11:09 +0300
commit5652da8bb4ea26acd35a241683e242439fefdd33 (patch)
tree913d4c0936de7b623a1d9297aa8421f7f6805868 /lib/api/files.rb
parentd84cfeaf21bb60c09061ad6c7bf135c37d063162 (diff)
Allow unauthenticated access to Repositories Files API GET endpoints
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/api/files.rb')
-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)
{