* Re-add get_file_io method * Update get_file
@ -10,6 +10,12 @@ module Storage
def get_file(filename)
path = Rails.root.join("tmp/storage", filename)
File.open(path, "r").read
end
def get_file_io(filename)
File.open(path, "r")