fix: Fix i18n issues with help center (#6559)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user