diff options
author | Go MAEDA <maeda@farend.jp> | 2019-05-12 03:55:56 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-05-12 03:55:56 +0000 |
commit | c4a4133178b83c2c115df1947302c785b2885467 (patch) | |
tree | 10aeb523e06a613a9b8942b67cae947a23b2b4e9 /app/controllers/admin_controller.rb | |
parent | a5b9632772294981b5c96fb5f8273a386d84f90c (diff) | |
download | redmine-c4a4133178b83c2c115df1947302c785b2885467.tar.gz redmine-c4a4133178b83c2c115df1947302c785b2885467.zip |
Render PDF thumbnail using ImageMagick/GhostScript (#22481).
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@18158 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r-- | app/controllers/admin_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 91d3b0712..eb2288eff 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -77,7 +77,8 @@ class AdminController < ApplicationController [:text_file_repository_writable, File.writable?(Attachment.storage_path)], ["#{l :text_plugin_assets_writable} (./public/plugin_assets)", File.writable?(Redmine::Plugin.public_directory)], [:text_rmagick_available, Object.const_defined?(:Magick)], - [:text_convert_available, Redmine::Thumbnail.convert_available?] + [:text_convert_available, Redmine::Thumbnail.convert_available?], + [:text_gs_available, Redmine::Thumbnail.gs_available?] ] end end |