lookup domain review license base controller
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
class InstallController < BaseController
|
||||
# skip_before_action :set_current_tenant_by_subdomain_or_name
|
||||
skip_before_action :verify_authenticity_token
|
||||
before_action :lookup_domain
|
||||
|
||||
def index
|
||||
end
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
class ReviewLicenseController < ApplicationController
|
||||
class ReviewLicenseController < BaseController
|
||||
before_action :lookup_domain
|
||||
|
||||
def index
|
||||
@license = current_license
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user