summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-05-09 21:43:23 +0200
committerJan Provaznik <jprovaznik@gitlab.com>2018-05-16 08:58:07 +0200
commit8c0166f2b96e233cbf8ec84e4314094521dc0316 (patch)
tree86edd74cd0fc51ff96ffe5d9c43c59adbfa0fd11
parent32e22468300e3a52c82a855a01fc3983473107e0 (diff)
downloadgitlab-ce-8c0166f2b96e233cbf8ec84e4314094521dc0316.tar.gz
Fixed typo
-rw-r--r--app/models/concerns/with_uploads.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/with_uploads.rb b/app/models/concerns/with_uploads.rb
index 3d99889c131..e7cfffb775b 100644
--- a/app/models/concerns/with_uploads.rb
+++ b/app/models/concerns/with_uploads.rb
@@ -2,7 +2,7 @@
# hook. This hook fetches upload location (local vs remote) from
# Upload model. So it's neccessary to make sure that during that
# after_commit hook model's associated uploads are not deleted yet.
-# IOW we can not use denepdent => :destroy :
+# IOW we can not use dependent: :destroy :
# has_many :uploads, as: :model, dependent: :destroy
#
# And because not-mounted uploads require presence of upload's