b69cc5239d
Redirect to external issue tracker from `/issues` Prior, in order to display the correct link to "Issues" in the project navigation, we were performing a check against the project to see if it used an external issue tracker, and if so, we used that URL. This was inefficient. Now, we simply _always_ link to `namespace_project_issues_path`, and then in the controller we redirect to the external tracker if it's present. This also removes the need for the `url_for_issue` helper. Bonus! 🎉 See merge request !5608 |
||
---|---|---|
.. | ||
artifacts | ||
blame | ||
blob | ||
branches | ||
builds | ||
buttons | ||
ci | ||
commit | ||
commits | ||
compare | ||
container_registry | ||
deploy_keys | ||
deployments | ||
diffs | ||
environments | ||
find_file | ||
forks | ||
generic_commit_statuses | ||
graphs | ||
group_links | ||
hooks | ||
imports | ||
issues | ||
labels | ||
merge_requests | ||
milestones | ||
network | ||
notes | ||
pipelines | ||
pipelines_settings | ||
project_members | ||
protected_branches | ||
refs | ||
releases | ||
repositories | ||
runners | ||
services | ||
snippets | ||
tags | ||
tree | ||
triggers | ||
variables | ||
wikis | ||
_activity.html.haml | ||
_bitbucket_import_modal.html.haml | ||
_commit_button.html.haml | ||
_errors.html.haml | ||
_files.html.haml | ||
_find_file_link.html.haml | ||
_gitlab_import_modal.html.haml | ||
_home_panel.html.haml | ||
_last_commit.html.haml | ||
_last_push.html.haml | ||
_md_preview.html.haml | ||
_merge_request_settings.html.haml | ||
_readme.html.haml | ||
_zen.html.haml | ||
activity.html.haml | ||
edit.html.haml | ||
empty.html.haml | ||
new.html.haml | ||
no_repo.html.haml | ||
remove_fork.js.haml | ||
show.atom.builder | ||
show.html.haml | ||
transfer.js.haml | ||
update.js.haml |