Commit dd173d49ff58161293e5fd623b3169e0f698ce48
1 parent
6f872902
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
fix missing param
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/plugin.rb
| @@ -699,7 +699,7 @@ class Noosfero::Plugin | @@ -699,7 +699,7 @@ class Noosfero::Plugin | ||
| 699 | elsif method.to_s =~ /^content_expire_(#{content_actions.join('|')})$/ | 699 | elsif method.to_s =~ /^content_expire_(#{content_actions.join('|')})$/ |
| 700 | nil | 700 | nil |
| 701 | elsif context.respond_to?(method) | 701 | elsif context.respond_to?(method) |
| 702 | - context.send(method) | 702 | + context.send(method, *args) |
| 703 | else | 703 | else |
| 704 | super | 704 | super |
| 705 | end | 705 | end |