fix(manager): default resource order
This commit is contained in:
parent
22e2749357
commit
812376cfb2
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ module Manager
|
|||
before_action :default_params
|
||||
|
||||
def default_params
|
||||
params[resource_name] ||= {
|
||||
request.query_parameters[resource_name] ||= {
|
||||
order: "created_at",
|
||||
direction: "desc"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue