Commit 23425401 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Rubocop

parent f7802c710647
......@@ -16,12 +16,12 @@ def download
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
......@@ -103,4 +103,3 @@ def link_to_project(object)
end
end
end
......@@ -56,7 +56,8 @@ def storage_project
@storage_project ||= begin
result = project
while result.forked? do
loop do
break unless result.forked?
result = result.forked_from_project
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment