summaryrefslogtreecommitdiff
path: root/lib/extensions
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-07-10 10:56:17 +0200
committerAzul <azul@leap.se>2014-07-12 09:14:24 +0200
commit0666c06fd7e66c783345a9810ace319a1cd9321f (patch)
treedadd73b6b8128bfb2171d37594cbfd1bef1d8618 /lib/extensions
parentbdd5060ccc13951524c171e2d3b81eeddec1625d (diff)
minor: fix typo in load_views
It removed most of the reduce functions... really not what we wanted
Diffstat (limited to 'lib/extensions')
-rw-r--r--lib/extensions/couchrest.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/extensions/couchrest.rb b/lib/extensions/couchrest.rb
index 290cd32..883073f 100644
--- a/lib/extensions/couchrest.rb
+++ b/lib/extensions/couchrest.rb
@@ -24,7 +24,6 @@ module CouchRest
Dir.glob("#{dir}/*.js") do |js|
name = File.basename(js, '.js')
file = File.open(js, 'r')
- reduce =
view name.to_sym,
map: file.read,
reduce: reduce