Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt

This commit is contained in:
Myat Zin Wai Maw
2019-12-03 17:49:21 +06:30
200 changed files with 3397 additions and 2690 deletions

View File

@@ -38,7 +38,7 @@ class ActionController::Base
elsif (flag == 2)
flash[:notice] = 'Expiring! Please, License extend...'
else
puts "RUN SAY BYAR"
Rails.logger.info "Run License"
end
end

View File

@@ -3,6 +3,4 @@ if File.exist?("config/license.yml")
config.fetch(Rails.env, {}).each do |key, value|
ENV[key.upcase] = value.to_s
end
else
ENV["SERVER_MODE"] = "cloud"
end