Commit ead9b1fbea1e42b95d14438b38b91ee5d9ee7895

Authored by Rodrigo Souto
1 parent 693cdda5

Changing variable name on find_by_contents hotspot

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/plugin.rb
... ... @@ -355,7 +355,7 @@ class Noosfero::Plugin
355 355 # returns = {:results => [a, b, c, ...], ...}
356 356 # P.S.: The plugin might add other informations on the return hash for its
357 357 # own use in specific views
358   - def find_by_contents(asset, klass, query, paginate_options={}, options={})
  358 + def find_by_contents(asset, scope, query, paginate_options={}, options={})
359 359 end
360 360  
361 361 def method_missing(method, *args, &block)
... ...