```ruby class Avo::CategoriesController < Avo::Res...
# avo-2
m
Copy code
ruby
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?
l
this is the perfect material for a new GH issue 🙂
m
5 Views