@@ -417,7 +417,7 @@ func registerRoutes(m *web.Route) {
417417 m .Post ("/packagist/{id}" , web .Bind (forms.NewPackagistHookForm {}), repo_setting .PackagistHooksEditPost )
418418 }
419419
420- addSettingVariablesRoutes := func () {
420+ addSettingsVariablesRoutes := func () {
421421 m .Group ("/variables" , func () {
422422 m .Get ("" , repo_setting .Variables )
423423 m .Post ("/new" , web .Bind (forms.EditVariableForm {}), repo_setting .VariableCreate )
@@ -618,7 +618,7 @@ func registerRoutes(m *web.Route) {
618618 m .Get ("" , user_setting .RedirectToDefaultSetting )
619619 addSettingsRunnersRoutes ()
620620 addSettingsSecretsRoutes ()
621- addSettingVariablesRoutes ()
621+ addSettingsVariablesRoutes ()
622622 }, actions .MustEnableActions )
623623
624624 m .Get ("/organization" , user_setting .Organization )
@@ -763,6 +763,7 @@ func registerRoutes(m *web.Route) {
763763 m .Group ("/actions" , func () {
764764 m .Get ("" , admin .RedirectToDefaultSetting )
765765 addSettingsRunnersRoutes ()
766+ addSettingsVariablesRoutes ()
766767 })
767768 }, adminReq , ctxDataSet ("EnableOAuth2" , setting .OAuth2 .Enable , "EnablePackages" , setting .Packages .Enabled ))
768769 // ***** END: Admin *****
@@ -905,7 +906,7 @@ func registerRoutes(m *web.Route) {
905906 m .Get ("" , org_setting .RedirectToDefaultSetting )
906907 addSettingsRunnersRoutes ()
907908 addSettingsSecretsRoutes ()
908- addSettingVariablesRoutes ()
909+ addSettingsVariablesRoutes ()
909910 }, actions .MustEnableActions )
910911
911912 m .Methods ("GET,POST" , "/delete" , org .SettingsDelete )
@@ -1084,7 +1085,7 @@ func registerRoutes(m *web.Route) {
10841085 m .Get ("" , repo_setting .RedirectToDefaultSetting )
10851086 addSettingsRunnersRoutes ()
10861087 addSettingsSecretsRoutes ()
1087- addSettingVariablesRoutes ()
1088+ addSettingsVariablesRoutes ()
10881089 }, actions .MustEnableActions )
10891090 // the follow handler must be under "settings", otherwise this incomplete repo can't be accessed
10901091 m .Group ("/migrate" , func () {
0 commit comments