diff options
author | dineshpanda <dineshpanda92@gmail.com> | 2019-08-31 22:21:10 +0300 |
---|---|---|
committer | dineshpanda <dineshpanda92@gmail.com> | 2019-08-31 23:27:25 +0300 |
commit | 980303b542e95d1caf2a4b54113e63b54dbae494 (patch) | |
tree | 8e8a87132b40c65a413e8b7ac5954d38960f96c4 /app/controllers/projects/lfs_api_controller.rb | |
parent | dc864927246746a34b675c7ee8ffbd1b533841e0 (diff) |
Avoid calling freeze on already frozen strings in app/controllers
Diffstat (limited to 'app/controllers/projects/lfs_api_controller.rb')
-rw-r--r-- | app/controllers/projects/lfs_api_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/lfs_api_controller.rb b/app/controllers/projects/lfs_api_controller.rb index 42c415757f9..c16736a756a 100644 --- a/app/controllers/projects/lfs_api_controller.rb +++ b/app/controllers/projects/lfs_api_controller.rb @@ -3,7 +3,7 @@ class Projects::LfsApiController < Projects::GitHttpClientController include LfsRequest - LFS_TRANSFER_CONTENT_TYPE = 'application/octet-stream'.freeze + LFS_TRANSFER_CONTENT_TYPE = 'application/octet-stream' skip_before_action :lfs_check_access!, only: [:deprecated] before_action :lfs_check_batch_operation!, only: [:batch] |