diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-14 15:03:20 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-14 15:03:20 +0100 |
commit | 84b42aebbcfb71593a12c678723ac8260af2b52e (patch) | |
tree | e39beaa25ec67e1d3f37dcdfd898b86c812fdb68 /lib | |
parent | f802ad370e625e7aa2f3023f73c24a8b6f009821 (diff) | |
download | gitlab-ce-84b42aebbcfb71593a12c678723ac8260af2b52e.tar.gz |
Fix project link on issue creationzj-fix-url-new-issue-presenter
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/chat_commands/presenters/issue_new.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/chat_commands/presenters/issue_new.rb b/lib/gitlab/chat_commands/presenters/issue_new.rb index 0d31660039a..3674ba25641 100644 --- a/lib/gitlab/chat_commands/presenters/issue_new.rb +++ b/lib/gitlab/chat_commands/presenters/issue_new.rb @@ -10,7 +10,7 @@ module Gitlab private - def new_issue + def new_issue { attachments: [ { @@ -38,7 +38,7 @@ module Gitlab end def project_link - "[#{project.name_with_namespace}](#{projects_url(project)})" + "[#{project.name_with_namespace}](#{project.web_url})" end def author_profile_link |