Skip to content

Commit

Permalink
passing locale to number_to_human_size (preparation for globalize2)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristi committed Aug 12, 2009
1 parent fe2b5d2 commit f98f344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/tiny_paper/_files_titles.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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.