Fixed production bug

master
E. Almqvist 3 years ago
parent c11a44403a
commit 521dfe4b32
  1. 14
      src/app.rb

@ -22,12 +22,14 @@ require_relative "const.rb" # constants
require_relative "db_init.rb" # db init (pre server init
require_relative "db_models.rb" # db models (i.e. User, Roles etc)
also_reload "lib/*"
also_reload "func.rb"
also_reload "const.rb"
also_reload "config.rb"
also_reload "db_models.rb"
also_reload "db_init.rb"
if DEBUG then
also_reload "lib/*"
also_reload "func.rb"
also_reload "const.rb"
also_reload "config.rb"
also_reload "db_models.rb"
also_reload "db_init.rb"
end
enable :sessions
db_init

Loading…
Cancel
Save