mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 17:21:43 +00:00
siempre mandar un array en data-keys
closes #887 closes #886 closes #885 closes #884 closes #877 closes #876 closes #871 closes #867 closes #865
This commit is contained in:
parent
0c491f88e1
commit
072662cab8
1 changed files with 1 additions and 1 deletions
|
@ -167,6 +167,6 @@ class PostsController < ApplicationController
|
|||
# Instruye al editor a olvidarse el contenido del artículo. Usar
|
||||
# cuando hayamos guardado la información correctamente.
|
||||
def forget_content
|
||||
flash[:js] = { target: 'editor', action: 'forget-content', keys: params[:storage_keys].to_json }
|
||||
flash[:js] = { target: 'editor', action: 'forget-content', keys: (params[:storage_keys] || []).to_json }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue