1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

ActiveStorage typo fix.

This commit is contained in:
alkesh26 2019-01-31 19:42:32 +05:30
parent 2312537867
commit a57f4defa7

View file

@ -28,7 +28,7 @@ module ActiveStorage
private private
def draw_first_page_from(file, &block) def draw_first_page_from(file, &block)
# use 72 dpi to match thumbnail dimesions of the PDF # use 72 dpi to match thumbnail dimensions of the PDF
draw self.class.pdftoppm_path, "-singlefile", "-r", "72", "-png", file.path, &block draw self.class.pdftoppm_path, "-singlefile", "-r", "72", "-png", file.path, &block
end end
end end