app/helpers/browse_everything_helper.rb in browse-everything-1.1.0 vs app/helpers/browse_everything_helper.rb in browse-everything-1.1.1

- old
+ new

@@ -18,6 +18,10 @@ acceptable = params[:accept] || '*/*' acceptable_types = acceptable.split(/,\s*/) acceptable_types << 'application/x-directory' acceptable_types.any? { |type| mime_match?(file.type, type) } end + + def file_size_to_human_size(file_size) + "#{file_size} bytes" + end end