mirror of
https://github.com/discourse/discourse.git
synced 2024-12-29 19:13:45 +08:00
133a648d9b
There’s currently a bug when using a dedicated class as a policy in services: if that class delegates its `#call` method (to an underlying strategy object for example), then an error will be raised saying steps aren’t allowed to provide default parameters. This should not happen, and this patch fixes that issue. |
||
---|---|---|
.. | ||
action_base.rb | ||
base.rb | ||
contract_base.rb | ||
options_base.rb | ||
policy_base.rb | ||
runner.rb | ||
steps_inspector.rb |