Commit 6c17d9a4 by liyijie

default order id desc

parent 73557471
......@@ -181,7 +181,7 @@ class SimpleController::BaseController < ::InheritedResources::Base
end
def end_of_association_chain
after_association_chain(policy_association_chain)
after_association_chain(policy_association_chain.order(id: :desc))
end
def collection
......
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