summaryrefslogtreecommitdiff
path: root/app/helpers/boards_helper.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-01-31 10:39:44 +0000
committerFatih Acet <acetfatih@gmail.com>2017-02-03 17:02:44 +0300
commit39fbd18951e7c6bd4b403cd82dd4e008fd00d6fe (patch)
tree0e404b968c955fc80368754e8f08c4baadd81650 /app/helpers/boards_helper.rb
parent1b01386a9513ad71f07aab79a29ee1f877db8df6 (diff)
downloadgitlab-ce-39fbd18951e7c6bd4b403cd82dd4e008fd00d6fe.tar.gz
Fixed bug with empty state showing after search
Fixed users href path being incorrect
Diffstat (limited to 'app/helpers/boards_helper.rb')
-rw-r--r--app/helpers/boards_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/boards_helper.rb b/app/helpers/boards_helper.rb
index 38c586ccd31..0b1b79ce15b 100644
--- a/app/helpers/boards_helper.rb
+++ b/app/helpers/boards_helper.rb
@@ -6,7 +6,8 @@ module BoardsHelper
endpoint: namespace_project_boards_path(@project.namespace, @project),
board_id: board.id,
disabled: "#{!can?(current_user, :admin_list, @project)}",
- issue_link_base: namespace_project_issues_path(@project.namespace, @project)
+ issue_link_base: namespace_project_issues_path(@project.namespace, @project),
+ root_path: root_path,
}
end
end