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:
parent
2312537867
commit
a57f4defa7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue