Skip to content
Snippets Groups Projects
Commit 23425401 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Rubocop

parent d199b3cd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,12 +16,12 @@ class Projects::LfsStorageController < Projects::GitHttpClientController
 
def upload_authorize
render(
json: {
StoreLFSPath: "#{Gitlab.config.lfs.storage_path}/tmp/upload",
LfsOid: oid,
LfsSize: size,
},
content_type: 'application/json; charset=utf-8'
json: {
StoreLFSPath: "#{Gitlab.config.lfs.storage_path}/tmp/upload",
LfsOid: oid,
LfsSize: size,
},
content_type: 'application/json; charset=utf-8'
)
end
 
Loading
Loading
@@ -103,4 +103,3 @@ class Projects::LfsStorageController < Projects::GitHttpClientController
end
end
end
Loading
Loading
@@ -56,7 +56,8 @@ module LfsHelper
@storage_project ||= begin
result = project
 
while result.forked? do
loop do
break unless result.forked?
result = result.forked_from_project
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment