lib/upperkut/middleware.rb in upperkut-0.7.0 vs lib/upperkut/middleware.rb in upperkut-0.7.1
- old
+ new
@@ -7,9 +7,10 @@
@items = []
end
def add(item)
return @items if @items.include?(item)
+
@items << item
end
def remove(item)
@items.delete(item)