I cannot into rails
This commit is contained in:
parent
3b47847276
commit
b5970738b9
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class OrdersController < ApplicationController
|
|||
end
|
||||
|
||||
def overview
|
||||
@users = User.members.publik.order(:frecency, :desc)
|
||||
@users = User.members.publik.order(frecency: :desc)
|
||||
@last = Order.order(:created_at).reverse_order.includes(:user).limit(10).map(&:user)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue