ripe-monitor-54023
09/29/2022, 4:50 PMlemon-wall-20836
09/30/2022, 8:00 AMquaint-pencil-2979
09/30/2022, 5:55 PMminiature-eye-94502
10/02/2022, 6:39 AMlemon-wall-20836
10/02/2022, 7:56 AMbright-tomato-27372
10/06/2022, 7:16 AMgray-gpu-88311
10/06/2022, 2:29 PMbright-tomato-27372
10/06/2022, 3:01 PMmammoth-guitar-49791
10/07/2022, 10:54 AMvictorious-kangaroo-12568
10/10/2022, 8:05 PMimportant-terabyte-39911
10/10/2022, 11:35 PMlemon-wall-20836
10/11/2022, 9:06 AMdelightful-beach-23533
10/11/2022, 4:57 PMthankful-stone-82785
10/12/2022, 2:53 PMquaint-pencil-2979
10/12/2022, 9:23 PMquaint-pencil-2979
10/13/2022, 3:46 PMimportant-terabyte-39911
10/13/2022, 9:50 PMlemon-wall-20836
10/14/2022, 9:02 AMmammoth-guitar-49791
10/14/2022, 10:30 AMruby
class Avo::CategoriesController < Avo::ResourcesController
def index
super
resource.model_class.by_position
end
end
I'm using acts_as_list in my app and I'm trying to override the index method in avo so I don't have to use a default scope. For some reason this isn't working. What do I need to overrride to get change the order of the model?straight-mechanic-78430
10/14/2022, 10:31 AMstraight-mechanic-78430
10/17/2022, 11:29 AMlemon-wall-20836
10/17/2022, 1:40 PMlate-cartoon-17585
10/17/2022, 6:55 PMquaint-pencil-2979
10/17/2022, 7:55 PMquaint-pencil-2979
10/17/2022, 8:36 PMlemon-wall-20836
10/18/2022, 6:39 AMstraight-mechanic-78430
10/19/2022, 9:19 AMthankful-stone-82785
10/20/2022, 7:26 PMMessage
for the placeholder and is empty, so not Your account has been marked as inactive.
as the value.quiet-winter-98496
10/21/2022, 8:14 PMlemon-wall-20836
10/21/2022, 9:20 PM