Browse files

passing locale to number_to_human_size (preparation for globalize2)

  • Loading branch information...
1 parent fe2b5d2 commit f98f344390866849339fb6538bf823ae1fc00fff cristi committed Aug 12, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/admin/tiny_paper/_files_titles.html.haml
View
2 app/views/admin/tiny_paper/_files_titles.html.haml
@@ -18,7 +18,7 @@
%td.index= index
%td= link_to asset.title, asset.asset.url
%td= asset.asset_content_type
- %td= number_to_human_size(asset.asset.size)
+ %td= number_to_human_size(asset.asset.size, :locale => "en")
-if @assets.empty?
%tr
%td.no_results{:colspan => 4} No results!

0 comments on commit f98f344

Please sign in to comment.