diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2019-01-22 01:58:54 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2019-01-22 01:58:54 +0300 |
commit | 86cda964cf7f289c8b0cd1efa80b3bd4bacfec4e (patch) | |
tree | a14c2210bb1edc4d8899c7df3326020fb220e0c1 /app/controllers | |
parent | 5fc63a1d232608530a4cd4a45c34a2bed695169a (diff) |
Fixed static analysis error and 2 caching specs
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/uploads_controller.rb | 2 |
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 |