mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 15:21:41 +00:00
fix: ya estamos en el contexto del sitio
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
1e13985ef8
commit
997114a896
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class Site
|
|||
end.each do |delta|
|
||||
locale, path = locale_and_path_from(delta.new_file[:path])
|
||||
|
||||
site.posts(lang: locale).find(path).index!
|
||||
posts(lang: locale).find(path).index!
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue