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:
authorTim Zallmann <tzallmann@gitlab.com>2019-01-22 01:58:54 +0300
committerTim Zallmann <tzallmann@gitlab.com>2019-01-22 01:58:54 +0300
commit86cda964cf7f289c8b0cd1efa80b3bd4bacfec4e (patch)
treea14c2210bb1edc4d8899c7df3326020fb220e0c1 /app/controllers/uploads_controller.rb
parent5fc63a1d232608530a4cd4a45c34a2bed695169a (diff)
Fixed static analysis error and 2 caching specs
Diffstat (limited to 'app/controllers/uploads_controller.rb')
-rw-r--r--app/controllers/uploads_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/uploads_controller.rb b/app/controllers/uploads_controller.rb
index 20a5a0d2f42..12f1d487f30 100644
--- a/app/controllers/uploads_controller.rb
+++ b/app/controllers/uploads_controller.rb
@@ -71,7 +71,7 @@ class UploadsController < ApplicationController
end
def cache_privately?
- true unless (User === model || Appearance === model)
+ true unless User === model || Appearance === model
end
def upload_model_class