Skip to content

Commit

Permalink
fix #26
Browse files Browse the repository at this point in the history
  • Loading branch information
it512 committed Jul 14, 2019
1 parent a62ef62 commit bcbf451
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions twig.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,11 @@ func (t *Twig) SetType(typ string) {
}

// Config 返回装配接口
func (t *Twig) Config() Assembler {
return &target{
PluginHelper: t,
Register: t.muxes.def,
}
func (t *Twig) Config() *Conf {
return Config(
&target{
PluginHelper: t,
Register: t.muxes.def,
},
)
}

0 comments on commit bcbf451

Please sign in to comment.