Permalink
Browse files

Oopsies. Remove code setting opts to empty hashes

  • Loading branch information...
1 parent c2f814c commit c7a3c11b1a6de8fedd3d291bfa4a8dbb04c36560 @bjeanes bjeanes committed Mar 5, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 leaves/logga/controller.rb
@@ -136,7 +136,7 @@ def find_constant(stem, sender, reply_to, name, entry=nil, opts={})
constants = constants.select { |constant| !constant.entries.find_by_name(entry).nil? }
return [constants, constants.size]
else
- display_constants(stem, sender, reply_to, constants, opts={})
+ display_constants(stem, sender, reply_to, constants, opts)
end
if constants.size == 1
if entry.nil?
@@ -155,7 +155,7 @@ def find_constant(stem, sender, reply_to, name, entry=nil, opts={})
end
else
if entry.nil?
- display_constants(stem, sender, reply_to, constants, opts={})
+ display_constants(stem, sender, reply_to, constants, opts)
else
return [[constants.first], 1]
end

0 comments on commit c7a3c11

Please sign in to comment.