mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 17:46:21 +00:00
fix: no memoizar, para poder obtener el valor nuevo siempre
This commit is contained in:
parent
32a2172e5b
commit
d347e177e4
1 changed files with 5 additions and 6 deletions
|
@ -12,7 +12,6 @@ class MetadataTitle < MetadataString
|
|||
#
|
||||
# @return [String]
|
||||
def default_value
|
||||
@default_value ||=
|
||||
post.attributes.select do |attr|
|
||||
post[attr].titleize?
|
||||
end.map do |attr|
|
||||
|
|
Loading…
Reference in a new issue