pluralized the name for the download file
This commit is contained in:
parent
46d56237ff
commit
4abce3b7ec
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ module ActionController
|
||||||
if plist
|
if plist
|
||||||
|
|
||||||
if plist.is_a? Array
|
if plist.is_a? Array
|
||||||
filename = plist.first.class.name
|
filename = plist.first.class.name.pluralize
|
||||||
else
|
else
|
||||||
filename = "#{plist.class.name}-#{plist.id}"
|
filename = "#{plist.class.name}-#{plist.id}"
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue