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.
👋 Hey I'm new around here, so I may have done some mistakes, sorry! --- ## Context On a fresh Gitea install, when I go to the [config admin page](http://localhost:3000/admin/config) I had a 500 error page. The logs: ``` 2022/12/10 20:08:47 ...s/context/context.go:232:HTML() [E] [6394d93f] Render failed: template: admin/config:180:22: executing "admin/config" at <.Service.DefaultAllowOnlyContributorsToTrackTime>: DefaultAllowOnlyContributorsToTrackTime has arguments but cannot be invoked as function 2022/12/10 20:08:47 [6394d93f] router: completed GET /admin/config for [::1]:43800, 500 Internal Server Error in 5.1ms @ admin/config.go:99(admin.Config) ``` ## The fix I removed the `$.Context` on the `.Service.DefaultAllowOnlyContributorsToTrackTime` to fix the 500 error page happening. It could be a mistake, and I don't fully understand what I've done! Signed-off-by: Restray <contact@restray.org> |
2 years ago | |
---|---|---|
.. | ||
applications | 2 years ago | |
auth | 2 years ago | |
base | 2 years ago | |
emails | 2 years ago | |
org | 2 years ago | |
packages | 2 years ago | |
repo | 2 years ago | |
user | 2 years ago | |
config.tmpl | 2 years ago | |
cron.tmpl | 2 years ago | |
dashboard.tmpl | 3 years ago | |
hook_new.tmpl | 2 years ago | |
hooks.tmpl | 4 years ago | |
monitor.tmpl | 3 years ago | |
navbar.tmpl | 2 years ago | |
notice.tmpl | 2 years ago | |
process-row.tmpl | 2 years ago | |
process.tmpl | 3 years ago | |
queue.tmpl | 2 years ago | |
stacktrace-row.tmpl | 2 years ago | |
stacktrace.tmpl | 3 years ago |