mirror of
https://0xacab.org/sutty/sutty
synced 2024-05-19 06:10:49 +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,9 +387,11 @@ class Site < ApplicationRecord
|
|||
end
|
||||
|
||||
def reload
|
||||
super
|
||||
super.tap do |s|
|
||||
reload_jekyll!
|
||||
end
|
||||
self
|
||||
end
|
||||
|
||||
def configuration
|
||||
return @configuration if @configuration
|
||||
|
|
Loading…
Reference in a new issue