feat: entry generation job and cleanup on delete
This commit is contained in:
@@ -56,7 +56,7 @@ func (p *Plugin) Register(app *backpack.App) error {
|
||||
}
|
||||
|
||||
// Boot builds the service on the application's database, signpost registry
|
||||
// and config.
|
||||
// and config, and subscribes to the record events.
|
||||
func (p *Plugin) Boot(app *backpack.App) error {
|
||||
p.app = app
|
||||
svc, err := classes.NewService(app)
|
||||
@@ -64,6 +64,7 @@ func (p *Plugin) Boot(app *backpack.App) error {
|
||||
return fmt.Errorf("golem15.seo: %w", err)
|
||||
}
|
||||
p.service = svc
|
||||
p.listen(app)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user