update multi_tenancy/license

This commit is contained in:
Thein Lin Kyaw
2020-01-29 14:20:50 +06:30
parent 0ea212bf65
commit 11ffaa738f
7 changed files with 37 additions and 38 deletions

View File

@@ -1,5 +1,6 @@
class ActionController::Base
before_action :lookup_domain, :set_locale
before_action :lookup_domain if Rails.env.production?
before_action :set_locale
private
@@ -96,7 +97,7 @@ class ActionController::Base
end
class ActionController::API
before_action :lookup_domain
before_action :lookup_domain if Rails.env.production?
private