Commit b8ee6477 by liyijie

feat: 返回association

parent 693ff301
......@@ -340,5 +340,6 @@ class SimpleController::BaseController < ::InheritedResources::Base
order_params.present? ?
association.where(selector).order(*Array(order_params)) : association.where(selector)
end
association
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