app/controllers/comable/admin/users_controller.rb in comable-backend-0.7.0.beta1 vs app/controllers/comable/admin/users_controller.rb in comable-backend-0.7.0.beta2

- old
+ new

@@ -7,10 +7,10 @@ load_and_authorize_resource class: Comable::User.name, except: :index def index @q = Comable::User.ransack(params[:q]) - @users = @q.result.page(params[:page]).accessible_by(current_ability) + @users = @q.result.page(params[:page]).accessible_by(current_ability).by_newest end def show end