0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 07:54:20 +01:00
gitea/routers/web/shared
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132)
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
2023-07-26 06:04:01 +00:00
..
actions Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
packages Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
secrets Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
user Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00