diff --git a/rhodecode/controllers/files.py b/rhodecode/controllers/files.py --- a/rhodecode/controllers/files.py +++ b/rhodecode/controllers/files.py @@ -388,6 +388,7 @@ class FilesController(BaseRepoController 'image/png': ('image/png', 'inline'), 'image/gif': ('image/gif', 'inline'), 'image/jpeg': ('image/jpeg', 'inline'), + 'application/pdf': ('application/pdf', 'inline'), } mimetype = file_node.mimetype