Better cache when modifying in-place

This commit is contained in:
Jacob Vosmaer 2016-07-22 15:56:10 +02:00
parent df3ca41e62
commit d199b3cdd7
1 changed files with 1 additions and 1 deletions

View File

@ -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