diff options
author | Unknwon <u@gogs.io> | 2017-02-23 13:05:29 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-02-23 13:05:29 -0500 |
commit | 5ec21d56ef2a002327b705ede5adabe3f1f13f34 (patch) | |
tree | 75197d9597dc881ba819e8d8fb21416b082005bd /modules/sync | |
parent | 266c8f5a85d259d1e997985062c924630625fc71 (diff) |
editor: fix cannot redirect to correct pull request URL
Was only possible to correctly redirect to pull request page within
same repository. And didn't take care of case when upstream has
disabled pull request.
Also add a new method 'PullRequestURL' to unify the code.
Diffstat (limited to 'modules/sync')
0 files changed, 0 insertions, 0 deletions