mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59b867dc2d
This PR adds a middleware which sets a ContextUser (like GetUserByParams before) in a single place which can be used by other methods. For routes which represent a repo or org the respective middlewares set the field too. Also fix a bug in modules/context/org.go during refactoring. |
3 years ago | |
---|---|---|
.. | ||
app.go | 3 years ago | |
email.go | 3 years ago | |
follower.go | 3 years ago | |
gpg_key.go | 3 years ago | |
helper.go | 3 years ago | |
key.go | 3 years ago | |
repo.go | 3 years ago | |
settings.go | 3 years ago | |
star.go | 3 years ago | |
user.go | 3 years ago | |
watch.go | 3 years ago |