Add screenshots to elements
Some checks failed
/ Run tests (push) Failing after 1m43s
/ Run system tests (push) Failing after 2m10s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-11-12 22:43:59 +01:00
parent c7c6023acf
commit 2293751fe2
18 changed files with 232 additions and 20 deletions

View file

@ -87,6 +87,6 @@ class ElementsController < ApplicationController
# Only allow a list of trusted parameters through.
def element_params
params.require(:element).permit(:page_id, :title, :description, :position)
params.require(:element).permit(:page_id, :title, :description, :position, :screenshot)
end
end