Fix wrong argument passing.
This commit is contained in:
parent
846cf25043
commit
a970065657
@ -571,7 +571,7 @@ class Formula
|
||||
if klass.nil?
|
||||
active_spec.resource(*name, &block)
|
||||
else
|
||||
active_spec.resource(name, klass)
|
||||
active_spec.resource(name, klass, &block)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user