forgejo/routers/repo
a1012112796 08ba895c2b
fix wrong file link in code search page (#15466)
in previous the grenrated link is
``testg/testrepo/src/commit/....``
which is not right.

the right version is ``/testg/testrepo/.......``
(start wiht ``/``)
or ``http://127.0.0.1:3000/xxxxx`` (full link)

to make it hase same result with explore page
I choose the secound style.

fix #15438

Signed-off-by: a1012112796 <1012112796@qq.com>

Co-authored-by: 6543 <6543@obermui.de>
2021-04-14 17:59:42 +02:00
..
activity.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
attachment.go Add ETag header (#15370) 2021-04-12 10:49:26 -04:00
blame.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
branch.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
commit.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
compare.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
download.go Add ETag header (#15370) 2021-04-12 10:49:26 -04:00
editor.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
editor_test.go
http.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
issue.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
issue_dependency.go
issue_label.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_label_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_lock.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_stopwatch.go
issue_test.go
issue_timetrack.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
issue_watch.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
lfs.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
main_test.go
middlewares.go
migrate.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
milestone.go Add dashboard milestone search and repo milestone search by name (#14866) 2021-04-08 13:53:59 +02:00
projects.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
projects_test.go
pull.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
pull_review.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
release.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
release_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
repo.go Fix CanCreateRepo check (#15311) 2021-04-07 09:26:41 +02:00
search.go fix wrong file link in code search page (#15466) 2021-04-14 17:59:42 +02:00
setting.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
setting_protected_branch.go Code Formats, Nits & Unused Func/Var deletions (#15286) 2021-04-09 09:40:34 +02:00
settings_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
topic.go [refactor] replace int with httpStatusCodes (#15282) 2021-04-05 11:30:52 -04:00
view.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
webhook.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
wiki.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00
wiki_test.go Move modules/forms to services/forms (#15305) 2021-04-06 20:44:05 +01:00