From 804c99fce66998ddcfd4970ff2c63141915bafd1 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 1 Jul 2025 21:11:07 +0200 Subject: searches: Add rich text description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows for adding rich content to searches so it can be displayed in shared searches, for example. Signed-off-by: Miquel Sabaté Solà --- app/controllers/searches_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/searches_controller.rb') diff --git a/app/controllers/searches_controller.rb b/app/controllers/searches_controller.rb index 752ccec..376455c 100644 --- a/app/controllers/searches_controller.rb +++ b/app/controllers/searches_controller.rb @@ -55,6 +55,6 @@ class SearchesController < ApplicationController end def search_params - params.require(:search).permit(:name, :body, :shared) + params.require(:search).permit(:name, :body, :description, :shared) end end -- cgit v1.2.3