summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/www/script/futon.browse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index 924372cf..7bac338a 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -133,7 +133,7 @@
var templates = {
javascript: "function(doc) {\n emit(null, doc);\n}",
python: "def fun(doc):\n yield None, doc",
- ruby: "{|doc|\n emit(nil, doc);\n}"
+ ruby: "lambda {|doc|\n emit(nil, doc);\n}"
}
this.newDocument = function() {