commit
d2ca46f8d9
1 changed files with 9 additions and 7 deletions
|
|
@ -8,6 +8,7 @@ import (
|
||||||
table_v0 "github.com/yaoapp/yao/table"
|
table_v0 "github.com/yaoapp/yao/table"
|
||||||
|
|
||||||
"github.com/yaoapp/yao/widgets/chart"
|
"github.com/yaoapp/yao/widgets/chart"
|
||||||
|
"github.com/yaoapp/yao/widgets/dashboard"
|
||||||
"github.com/yaoapp/yao/widgets/form"
|
"github.com/yaoapp/yao/widgets/form"
|
||||||
"github.com/yaoapp/yao/widgets/list"
|
"github.com/yaoapp/yao/widgets/list"
|
||||||
"github.com/yaoapp/yao/widgets/table"
|
"github.com/yaoapp/yao/widgets/table"
|
||||||
|
|
@ -22,6 +23,7 @@ var Guards = map[string]gin.HandlerFunc{
|
||||||
"widget-list": list.Guard, // Widget List Guard
|
"widget-list": list.Guard, // Widget List Guard
|
||||||
"widget-form": form.Guard, // Widget Form Guard
|
"widget-form": form.Guard, // Widget Form Guard
|
||||||
"widget-chart": chart.Guard, // Widget Chart Guard
|
"widget-chart": chart.Guard, // Widget Chart Guard
|
||||||
|
"widget-dashboard": dashboard.Guard, // Widget Dashboard Guard
|
||||||
}
|
}
|
||||||
|
|
||||||
// JWT Bearer JWT
|
// JWT Bearer JWT
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue