summaryrefslogtreecommitdiff
path: root/app/views/help
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-09 10:19:41 +0000
committerPhil Hughes <me@iamphill.com>2016-03-10 13:54:54 +0000
commita9ea06ed2967e67d102c83e2bd6c9653778e64bc (patch)
treea169e98b12143a1fca91bb712ae610f0c417c40b /app/views/help
parentf3afcb87b74685edb91eb9cfa839758275af9a0e (diff)
downloadgitlab-ce-a9ea06ed2967e67d102c83e2bd6c9653778e64bc.tar.gz
Fixed ruby style errors
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/ui.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/help/ui.html.haml b/app/views/help/ui.html.haml
index db46e51f8d7..d084559abc3 100644
--- a/app/views/help/ui.html.haml
+++ b/app/views/help/ui.html.haml
@@ -409,8 +409,8 @@
= icon('spinner spin')
:javascript
$('#js-project-dropdown').glDropdown({
- data: function (callback) {
- Api.projects("", "last_activity_at", function (data) {
+ data: function (term, callback) {
+ Api.projects(term, "last_activity_at", function (data) {
callback(data);
});
},
@@ -433,7 +433,7 @@
.example
%div
- = dropdown_tag("Projects", title: "Go to project", filter: true, placeholder: "Filter projects")
+ = dropdown_tag("Projects", options: { title: "Go to project", filter: true, placeholder: "Filter projects" })
%h2#panels Panels