Hot Fixes

This commit is contained in:
2015-06-21 16:01:01 +02:00
parent b0f1a2823f
commit 308b542caa
9 changed files with 24 additions and 15 deletions

View File

@@ -92,7 +92,8 @@ end
File.extname(full_filename(file.file)).downcase
end
def pdf?(for_file)
%w(.pdf).include?(File.extname(full_filename(for_file.file)).downcase)
# %w(.pdf).include?(File.extname(full_filename(for_file.file)).downcase)
false
end
def image?(for_file)
%w(.jpg .png .jpeg).include?(File.extname(full_filename(for_file.file)).downcase)