mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 11:31:34 +01: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 |
||
---|---|---|
.. | ||
setting | ||
home.go | ||
main_test.go | ||
members.go | ||
org.go | ||
org_labels.go | ||
projects.go | ||
projects_test.go | ||
setting.go | ||
setting_oauth2.go | ||
setting_packages.go | ||
teams.go |