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