Commit d199b3cd authored by Jacob Vosmaer's avatar Jacob Vosmaer

Better cache when modifying in-place

parent df3ca41e
......@@ -32,7 +32,7 @@ class Projects::LfsApiController < Projects::GitHttpClientController
private
def objects
(params[:objects] || []).to_a
@objects ||= (params[:objects] || []).to_a
end
def existing_oids
......
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