mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 03:15:31 -04:00
Move require "big"
to relevant util file
This commit is contained in:
parent
0d11cb59e9
commit
ea366f263a
@ -2,6 +2,8 @@
|
|||||||
# Used to sort the images files inside the archives
|
# Used to sort the images files inside the archives
|
||||||
# https://github.com/hkalexling/Mango/issues/12
|
# https://github.com/hkalexling/Mango/issues/12
|
||||||
|
|
||||||
|
require "big"
|
||||||
|
|
||||||
def is_numeric(str)
|
def is_numeric(str)
|
||||||
/^\d+/.match(str) != nil
|
/^\d+/.match(str) != nil
|
||||||
end
|
end
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
require "big"
|
|
||||||
|
|
||||||
IMGS_PER_PAGE = 5
|
IMGS_PER_PAGE = 5
|
||||||
UPLOAD_URL_PREFIX = "/uploads"
|
UPLOAD_URL_PREFIX = "/uploads"
|
||||||
STATIC_DIRS = ["/css", "/js", "/img", "/favicon.ico"]
|
STATIC_DIRS = ["/css", "/js", "/img", "/favicon.ico"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user