lookup domain review license base controller

This commit is contained in:
Thein Lin Kyaw
2020-06-19 12:02:32 +06:30
parent 7e9b4f7120
commit ec62d54f3b
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
class ActionController::Base
before_action :lookup_domain
before_action :lookup_domain if Rails.env.production?
before_action :set_locale
helper_method :current_license,