Commit ead9b1fbea1e42b95d14438b38b91ee5d9ee7895
1 parent
693cdda5
Exists in
master
and in
29 other branches
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,7 +355,7 @@ class Noosfero::Plugin | ||
355 | # returns = {:results => [a, b, c, ...], ...} | 355 | # returns = {:results => [a, b, c, ...], ...} |
356 | # P.S.: The plugin might add other informations on the return hash for its | 356 | # P.S.: The plugin might add other informations on the return hash for its |
357 | # own use in specific views | 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 | end | 359 | end |
360 | 360 | ||
361 | def method_missing(method, *args, &block) | 361 | def method_missing(method, *args, &block) |