From 921f6130c1f9a6c2a3333e63649b21fca078d46a Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Tue, 2 Jul 2013 00:38:44 -0400 Subject: [PATCH] fix size calculation --- views/site_files/new.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/site_files/new.slim b/views/site_files/new.slim index 1e4ab474..3a2d4d44 100644 --- a/views/site_files/new.slim +++ b/views/site_files/new.slim @@ -34,5 +34,5 @@ h4 If the file already exists, it will be overwritten without warning. h4 It has to be legal to share this content in the United States. - h4 It must fit into your home page space (5MB). + h4 It must fit into your home page space (#{(Site::MAX_SPACE.to_f / 2**20).to_i}MB). h4 The file uploader will automatically scrub any characters not matching: a-z A-Z 0-9 _ - .