diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-10-24 14:02:27 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-10-24 14:02:27 +0300 |
commit | 4028022f56f81f9cbe1227dae53c878f702bd8fa (patch) | |
tree | d99698bd0aa0bbe481942af5eba688e75244d4fa /app/views | |
parent | 5bd4bee00fd1c5bd0bbccd330bf10fd9edc5e742 (diff) | |
parent | cc6491ef6405de855b071e128631df6fdb47db8e (diff) |
Merge branch 'issue-boards-user-url' into 'master'
Use root_url for issue boards user link
## What does this MR do?
Rather than using `/` as the root path, it now correctly sends the root URL from Rails to prevent errors with installations in subdirectories.
## What are the relevant issue numbers?
Closes #23556
See merge request !7018
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/boards/components/_card.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml index d8f16022407..c6d718a1cd1 100644 --- a/app/views/projects/boards/components/_card.html.haml +++ b/app/views/projects/boards/components/_card.html.haml @@ -26,7 +26,7 @@ ":title" => "label.description", data: { container: 'body' } } {{ label.title }} - %a.has-tooltip{ ":href" => "'/' + issue.assignee.username", + %a.has-tooltip{ ":href" => "'#{root_path}' + issue.assignee.username", ":title" => "'Assigned to ' + issue.assignee.name", "v-if" => "issue.assignee", data: { container: 'body' } } |