From 1c32ea167ec039ea9d8a9bd4bd5c9407ae7a2e6e Mon Sep 17 00:00:00 2001 From: Ahmad Farhat <ahmad.af.farhat@gmail.com> Date: Tue, 10 Jan 2023 13:55:35 -0500 Subject: [PATCH] Skip valid api check (#4431) --- app/controllers/api/v1/locales_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/v1/locales_controller.rb b/app/controllers/api/v1/locales_controller.rb index 68d7e2d4..22300f24 100644 --- a/app/controllers/api/v1/locales_controller.rb +++ b/app/controllers/api/v1/locales_controller.rb @@ -4,6 +4,7 @@ module Api module V1 class LocalesController < ApiController skip_before_action :ensure_authenticated, only: :show + skip_before_action :ensure_valid_request, only: :show # GET /api/v1/locales def index -- GitLab