mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 04:06:22 +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
1 changed files with 4 additions and 2 deletions
|
@ -387,8 +387,10 @@ class Site < ApplicationRecord
|
|||
end
|
||||
|
||||
def reload
|
||||
super
|
||||
reload_jekyll!
|
||||
super.tap do |s|
|
||||
reload_jekyll!
|
||||
end
|
||||
self
|
||||
end
|
||||
|
||||
def configuration
|
||||
|
|
Loading…
Reference in a new issue