Add screenshots to elements
This commit is contained in:
parent
c7c6023acf
commit
2293751fe2
18 changed files with 232 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue