have a good day!
so, i'd found that sometimes it's really required to pass callbacks before sorting and after sorting callbacks or fully override sort logic (for example if i want to sort nested sets or i want to set up lock / unlock before and after sort).
is there any ideas how can i do it?
may be, add possibility to pass callback function instead of default implementation in collection_action :sort, :method => :post ?
have a good day! so, i'd found that sometimes it's really required to pass callbacks before sorting and after sorting callbacks or fully override sort logic (for example if i want to sort nested sets or i want to set up lock / unlock before and after sort). is there any ideas how can i do it? may be, add possibility to pass callback function instead of default implementation in collection_action :sort, :method => :post ?