mirror of
https://0xacab.org/sutty/sutty
synced 2024-05-19 08:10:48 +00:00
Merge branch 'issue-14700' into 'rails'
`Site#Reload` deberia devolver `self` #14700 See merge request sutty/sutty!231
This commit is contained in:
commit
3336c2d5b6
|
@ -387,8 +387,10 @@ class Site < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def reload
|
def reload
|
||||||
super
|
super.tap do |s|
|
||||||
reload_jekyll!
|
reload_jekyll!
|
||||||
|
end
|
||||||
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
def configuration
|
def configuration
|
||||||
|
|
Loading…
Reference in a new issue