1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-06 17:17:44 +03:00
gitea/routers/web/org
wxiaoguang 2a828e2798
Clarify path param naming (#32969)
In history (from some legacy frameworks), both `:name` and `name` are
supported as path path name, `:name` is an alias to `name`.

To make code consistent, now we should only use `name` but not `:name`.

Also added panic check in related functions to make sure the name won't
be abused in case some downstreams still use them.
2024-12-24 13:47:45 +00:00
..
setting Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
block.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
home.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
members.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
org_labels.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
org.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
projects_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
projects.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
setting_oauth2.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
setting_packages.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
setting.go Refactor template & test related code (#32938) 2024-12-22 15:33:19 +00:00
teams.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00