bug al guardar el idioma
This commit is contained in:
parent
8833219379
commit
e6772ae549
1 changed files with 5 additions and 1 deletions
|
@ -230,7 +230,11 @@ class Post
|
|||
end
|
||||
end
|
||||
|
||||
{ k => v }
|
||||
if v.is_a? ActionController::Parameters
|
||||
{ k => v.to_hash }
|
||||
else
|
||||
{ k => v }
|
||||
end
|
||||
end.reduce(Hash.new, :merge).stringify_keys
|
||||
|
||||
# el cuerpo se maneja por separado
|
||||
|
|
Loading…
Reference in a new issue