fix: Fix i18n issues with help center (#6559)

This commit is contained in:
Pranav Raj S
2023-02-27 17:45:57 -08:00
committed by GitHub
parent b141fc1289
commit 69a1c4527f
15 changed files with 120 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
class Public::Api::V1::Portals::ArticlesController < PublicController
class Public::Api::V1::Portals::ArticlesController < Public::Api::V1::Portals::BaseController
before_action :ensure_custom_domain_request, only: [:show, :index]
before_action :portal
before_action :set_category, except: [:index]
@@ -34,7 +34,7 @@ class Public::Api::V1::Portals::ArticlesController < PublicController
end
def list_params
params.permit(:query)
params.permit(:query, :locale)
end
def permitted_params