pluralized the name for the download file

This commit is contained in:
Jeena Paradies 2010-06-17 21:17:33 +02:00
parent 46d56237ff
commit 4abce3b7ec

View file

@ -29,7 +29,7 @@ module ActionController
if plist
if plist.is_a? Array
filename = plist.first.class.name
filename = plist.first.class.name.pluralize
else
filename = "#{plist.class.name}-#{plist.id}"
end