diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-12-27 23:41:04 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-12-27 23:41:04 +0300 |
commit | 2ed90c454d91ab2672f52a9760974aa8f0991539 (patch) | |
tree | c5420859e15ead270c30b60e0f967f9772cc6686 /app/helpers | |
parent | ae51027da0f89bc98b9cd39e61c9e51d8da23add (diff) | |
parent | 75060b93a6ea958b0c61a3c276d009026eef9dbd (diff) |
Merge branch '18786-go-to-a-project-order' into 'master'
Go to a project order
Closes #18786
See merge request !7737
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/projects_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 4b5a2dc8782..feeb553e607 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -61,7 +61,7 @@ module ProjectsHelper project_link = link_to simple_sanitize(project.name), project_path(project), { class: "project-item-select-holder" } if current_user - project_link << button_tag(type: 'button', class: "dropdown-toggle-caret js-projects-dropdown-toggle", aria: { label: "Toggle switch project dropdown" }, data: { target: ".js-dropdown-menu-projects", toggle: "dropdown" }) do + project_link << button_tag(type: 'button', class: 'dropdown-toggle-caret js-projects-dropdown-toggle', aria: { label: 'Toggle switch project dropdown' }, data: { target: '.js-dropdown-menu-projects', toggle: 'dropdown', order_by: 'last_activity_at' }) do icon("chevron-down") end end |