diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2017-02-17 13:09:15 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2017-02-17 13:09:15 +0300 |
commit | 63330af84fb6ecdce4611af238af4233a436e260 (patch) | |
tree | 692b5d3e587495b382f45ce48bfc1bf94a0a3329 /lib | |
parent | b08be1659826ae3f0b645334e59f0a2861a709eb (diff) | |
parent | 84b42aebbcfb71593a12c678723ac8260af2b52e (diff) |
Merge branch 'zj-fix-url-new-issue-presenter' into 'master'
Fix project link on issue creation
See merge request !9226
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 |