diff options
author | dineshpanda <dineshpanda92@gmail.com> | 2019-09-01 00:52:19 +0530 |
---|---|---|
committer | dineshpanda <dineshpanda92@gmail.com> | 2019-09-04 09:21:21 +0530 |
commit | ee1633e3839dd8e30fad090c1b090c41dd5aeca0 (patch) | |
tree | 4d18c99bbb3f0c52439d6a61b9df4302c60f36b5 /app/services/wikis/create_attachment_service.rb | |
parent | df6f1dd93f0f427a2c66c07ea31bdb17a7efaca6 (diff) | |
download | gitlab-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.rb | 2 |
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 |