Sortable_element helper query

Is it possible to call helper method instead of controller action while
using sortable_element helper method?

The url field in the example is like controller/action type. Can we call
ControllerHelper method instead? Because we need to save the sorted
element in the database, so my guess was to call a method in a model.
Any clues?

Why not call a controller action which, in turn calls your model
methods and saves?

Check out Railscast 147 - Ryan explains how to create a quick sortable

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs