From b9d31a40709a1db19d66cfdd0e5f999b4eed4125 Mon Sep 17 00:00:00 2001 From: 1redmine Date: Thu, 22 May 2025 12:42:27 +0200 Subject: [PATCH] #1596 Rubocop --- app/controllers/dmsf_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/dmsf_controller.rb b/app/controllers/dmsf_controller.rb index 33ee67c1..78145f60 100644 --- a/app/controllers/dmsf_controller.rb +++ b/app/controllers/dmsf_controller.rb @@ -95,7 +95,7 @@ class DmsfController < ApplicationController format.html do # Warn about searching in sub-folders if @folder && params['set_filter'].present? && params['f'].present? - flash[:warning] = l(:notice_search_in_subfolders) + flash.now[:warning] = l(:notice_search_in_subfolders) end @dmsf_count = @query.dmsf_count @dmsf_pages = Paginator.new @dmsf_count, per_page_option, params['page']