summaryrefslogtreecommitdiff
path: root/app/services/wikis/create_attachment_service.rb
diff options
context:
space:
mode:
authordineshpanda <dineshpanda92@gmail.com>2019-09-01 00:52:19 +0530
committerdineshpanda <dineshpanda92@gmail.com>2019-09-04 09:21:21 +0530
commitee1633e3839dd8e30fad090c1b090c41dd5aeca0 (patch)
tree4d18c99bbb3f0c52439d6a61b9df4302c60f36b5 /app/services/wikis/create_attachment_service.rb
parentdf6f1dd93f0f427a2c66c07ea31bdb17a7efaca6 (diff)
downloadgitlab-ce-ee1633e3839dd8e30fad090c1b090c41dd5aeca0.tar.gz
Avoid calling freeze on already frozen strings in app/services
Diffstat (limited to 'app/services/wikis/create_attachment_service.rb')
-rw-r--r--app/services/wikis/create_attachment_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/wikis/create_attachment_service.rb b/app/services/wikis/create_attachment_service.rb
index df31ad7c8ea..6ef6cbc3c12 100644
--- a/app/services/wikis/create_attachment_service.rb
+++ b/app/services/wikis/create_attachment_service.rb
@@ -2,7 +2,7 @@
module Wikis
class CreateAttachmentService < Files::CreateService
- ATTACHMENT_PATH = 'uploads'.freeze
+ ATTACHMENT_PATH = 'uploads'
MAX_FILENAME_LENGTH = 255
delegate :wiki, to: :project