Commit 92b60080 by liyijie

fix: 修复变量错误

parent 0e800b9c
......@@ -235,7 +235,7 @@ class SimpleController::BaseController < ::InheritedResources::Base
if self.class.instance_variable_get(:@ransack_off) || params[:q].blank?
policy_association_chain
else
ransack_association(association, params[:q])
ransack_association(policy_association_chain, params[:q])
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment