mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 07:12:20 +00:00
dcd3a63128
The JSONRedirect/JSONOK/JSONError functions were put into "Base" context incorrectly, it would cause abuse. Actually, they are for "web context" only, so, move them to the correct place. And by the way, use them to simplify old code: +75 -196 |
||
---|---|---|
.. | ||
avatar.go | ||
collaboration.go | ||
deploy_key.go | ||
git_hooks.go | ||
lfs.go | ||
main_test.go | ||
protected_branch.go | ||
protected_tag.go | ||
runners.go | ||
secrets.go | ||
setting.go | ||
settings_test.go | ||
variables.go | ||
webhook.go |