diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-10 09:08:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-10 09:08:18 +0300 |
commit | c2879da99d02b4e49a1394f5699a2963f2651f18 (patch) | |
tree | d461f06a8ab26874e7aa419de0066e1b6b8a11be /app/helpers | |
parent | 83ecb4b0df499a75a5eb54ebed3ea900606d3bb0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/events_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index e93aeba6dfd..c1f343edd10 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -188,7 +188,7 @@ module EventsHelper end def event_wiki_page_target_url(event) - project_wiki_url(event.project, event.target.canonical_slug) + project_wiki_url(event.project, event.target&.canonical_slug || Wiki::HOMEPAGE) end def event_note_title_html(event) |