1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-21 17:58:35 +00:00

Update docs and comments to remove macaron (#14491)

This commit is contained in:
Lunny Xiao
2021-01-29 23:35:30 +08:00
committed by GitHub
parent 25b6255b92
commit 0cd87d64ff
29 changed files with 32 additions and 78 deletions

View File

@@ -215,7 +215,7 @@ func WebRoutes() *web.Route {
return r
}
// RegisterRoutes routes routes to Macaron
// RegisterRoutes register routes
func RegisterRoutes(m *web.Route) {
reqSignIn := context.Toggle(&context.ToggleOptions{SignInRequired: true})
ignSignIn := context.Toggle(&context.ToggleOptions{SignInRequired: setting.Service.RequireSignInView})