Move require "big" to relevant util file

This commit is contained in:
Alex Ling 2020-07-12 08:53:46 +00:00
parent 0d11cb59e9
commit ea366f263a
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,8 @@
# Used to sort the images files inside the archives
# https://github.com/hkalexling/Mango/issues/12
require "big"
def is_numeric(str)
/^\d+/.match(str) != nil
end

View File

@ -1,5 +1,3 @@
require "big"
IMGS_PER_PAGE = 5
UPLOAD_URL_PREFIX = "/uploads"
STATIC_DIRS = ["/css", "/js", "/img", "/favicon.ico"]