summaryrefslogtreecommitdiffstats
path: root/models/helper.go
diff options
context:
space:
mode:
authorsebastian-sauer <sauer.sebastian@gmail.com>2021-06-22 22:13:31 +0200
committerGitHub <noreply@github.com>2021-06-22 21:13:31 +0100
commit66f8da538a8b1bd63ea1a0f97202ee0d46c15c4f (patch)
tree7b4adfa29bc789695a92e8e54578808da59e593f /models/helper.go
parentd55b5eb0d3f1d129eb4d03cc7ddb56a59b4db8ff (diff)
downloadgitea-66f8da538a8b1bd63ea1a0f97202ee0d46c15c4f.tar.gz
gitea-66f8da538a8b1bd63ea1a0f97202ee0d46c15c4f.zip
Use pulls url if issue is a pull request (#16230)
if a pull request is displayed use the /pulls path if a pull requests diff is displayed use the /pulls/{id}/files url if an issue is displayed use the issues url Fixes #16102 Signed-off-by: Sebastian Sauer <sauer.sebastian@gmail.com>
Diffstat (limited to 'models/helper.go')
0 files changed, 0 insertions, 0 deletions