From ead9b1fbea1e42b95d14438b38b91ee5d9ee7895 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Tue, 19 Mar 2013 04:48:43 +0000 Subject: [PATCH] Changing variable name on find_by_contents hotspot --- lib/noosfero/plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/noosfero/plugin.rb b/lib/noosfero/plugin.rb index d3bb6ef..1fa90e4 100644 --- a/lib/noosfero/plugin.rb +++ b/lib/noosfero/plugin.rb @@ -355,7 +355,7 @@ class Noosfero::Plugin # returns = {:results => [a, b, c, ...], ...} # P.S.: The plugin might add other informations on the return hash for its # own use in specific views - def find_by_contents(asset, klass, query, paginate_options={}, options={}) + def find_by_contents(asset, scope, query, paginate_options={}, options={}) end def method_missing(method, *args, &block) -- libgit2 0.21.2