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,6 +1,5 @@
class InstallController < BaseController class InstallController < BaseController
# skip_before_action :set_current_tenant_by_subdomain_or_name before_action :lookup_domain
skip_before_action :verify_authenticity_token
def index def index
end end

View File

@@ -1,4 +1,5 @@
class ReviewLicenseController < ApplicationController class ReviewLicenseController < BaseController
before_action :lookup_domain
def index def index
@license = current_license @license = current_license

View File

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