5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 04:26:21 +00:00

fix: validar presencia de atributos

(cherry picked from commit 2282acfc6e)
This commit is contained in:
f 2023-10-26 18:05:58 -03:00
parent d6e49bbd1e
commit cd613b053d
No known key found for this signature in database

View file

@ -48,6 +48,8 @@ class IndexedPost < ApplicationRecord
.flatten.uniq
end
validates_presence_of :layout, :path, :locale
belongs_to :site
# La ubicación del Post en el disco