diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-01 21:11:07 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-01 21:16:54 +0200 |
| commit | 804c99fce66998ddcfd4970ff2c63141915bafd1 (patch) | |
| tree | cb489e4fad6ba586e14389a05c179b9aac0dc75d /app/controllers/searches_controller.rb | |
| parent | 3e6ae9e523b410e9f100c8840ee9b6cc77043537 (diff) | |
| download | operum-804c99fce66998ddcfd4970ff2c63141915bafd1.tar.gz operum-804c99fce66998ddcfd4970ff2c63141915bafd1.zip | |
searches: Add rich text description
This allows for adding rich content to searches so it can be displayed
in shared searches, for example.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'app/controllers/searches_controller.rb')
| -rw-r--r-- | app/controllers/searches_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
