diff options
| author | Hamidreza Ghavami <hamid.r.gh.1998@gmail.com> | 2023-05-04 19:39:08 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <hamid.r.gh.1998@gmail.com> | 2023-05-04 19:39:08 +0300 |
| commit | 4f8de18d1f21518b98aba82cbf14d2d23c0c178c (patch) | |
| tree | ab4fe59fa64bcd4499fb4586ee31445dd9b47e17 /web/controller/xui.go | |
| parent | dbac48f05db6328bb9e19fc354c61d1a9e85de74 (diff) | |
renamed setting.html to settings.html and update its route name
Diffstat (limited to 'web/controller/xui.go')
| -rw-r--r-- | web/controller/xui.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/controller/xui.go b/web/controller/xui.go index 5832be84..c836057a 100644 --- a/web/controller/xui.go +++ b/web/controller/xui.go @@ -23,7 +23,7 @@ func (a *XUIController) initRouter(g *gin.RouterGroup) { g.GET("/", a.index) g.GET("/inbounds", a.inbounds) - g.GET("/setting", a.setting) + g.GET("/settings", a.settings) a.inboundController = NewInboundController(g) a.settingController = NewSettingController(g) @@ -37,6 +37,6 @@ func (a *XUIController) inbounds(c *gin.Context) { html(c, "inbounds.html", "pages.inbounds.title", nil) } -func (a *XUIController) setting(c *gin.Context) { - html(c, "setting.html", "pages.setting.title", nil) +func (a *XUIController) settings(c *gin.Context) { + html(c, "settings.html", "pages.setting.title", nil) } |
