aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib
diff options
context:
space:
mode:
authoralkesh26 <alkesh26@gmail.com>2019-01-31 19:42:32 +0530
committeralkesh26 <alkesh26@gmail.com>2019-01-31 19:42:32 +0530
commita57f4defa7cc2b2b8d99ef6d2c4c22efe9fac59e (patch)
treecfaa7989703528372f9e2ad999684ffa62a87b65 /activestorage/lib
parent23125378673bcc606b274027666a126573e136f8 (diff)
downloadrails-a57f4defa7cc2b2b8d99ef6d2c4c22efe9fac59e.tar.gz
rails-a57f4defa7cc2b2b8d99ef6d2c4c22efe9fac59e.tar.bz2
rails-a57f4defa7cc2b2b8d99ef6d2c4c22efe9fac59e.zip
ActiveStorage typo fix.
Diffstat (limited to 'activestorage/lib')
-rw-r--r--activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb b/activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb
index 69eb617d7b..6bf501a607 100644
--- a/activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb
+++ b/activestorage/lib/active_storage/previewer/poppler_pdf_previewer.rb
@@ -28,7 +28,7 @@ module ActiveStorage
private
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
end
end