mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 04:36:20 +00:00
fix: validar presencia de atributos
(cherry picked from commit 2282acfc6e
)
This commit is contained in:
parent
d6e49bbd1e
commit
cd613b053d
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ class IndexedPost < ApplicationRecord
|
||||||
.flatten.uniq
|
.flatten.uniq
|
||||||
end
|
end
|
||||||
|
|
||||||
|
validates_presence_of :layout, :path, :locale
|
||||||
|
|
||||||
belongs_to :site
|
belongs_to :site
|
||||||
|
|
||||||
# La ubicación del Post en el disco
|
# La ubicación del Post en el disco
|
||||||
|
|
Loading…
Reference in a new issue