From 3bd79ee534dae693b6082153423dd94e9c4bc778 Mon Sep 17 00:00:00 2001 From: yukolonin Date: Wed, 7 Feb 2024 10:55:08 +0000 Subject: [PATCH] Filter show resume by locale --- app/controllers/web/resumes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/web/resumes_controller.rb b/app/controllers/web/resumes_controller.rb index 27fcda3a..f223ca3f 100644 --- a/app/controllers/web/resumes_controller.rb +++ b/app/controllers/web/resumes_controller.rb @@ -13,7 +13,7 @@ def index end def show - @resume = Resume.web.find(params[:id]) + @resume = Resume.web.with_locale.find(params[:id]) authorize @resume @resume_answers = @resume.answers