chore: Set locale in default_locale (#5515)
This commit is contained in:
@@ -45,6 +45,7 @@ class DashboardController < ActionController::Base
|
||||
@portal = Portal.find_by(custom_domain: domain)
|
||||
return unless @portal
|
||||
|
||||
@locale = @portal.default_locale
|
||||
render 'public/api/v1/portals/show', layout: 'portal', portal: @portal and return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user