Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

passing locale to number_to_human_size (preparation for globalize2)

  • Loading branch information...
commit f98f344390866849339fb6538bf823ae1fc00fff 1 parent fe2b5d2
cristi authored
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.
Something went wrong with that request. Please try again.