After some exploration, actually you can still use the url_helpers such as edit_product_path etc by just including the rails url_helper in your class e.g.
ruby
classYourDatatable
include Rails.application.routes.url_helpers
.
.
def data
.
link_to("edit", edit_product_path(product)
endend
After some exploration, actually you can still use the url_helpers such as edit_product_path etc by just including the rails url_helper in your class e.g.
Hey anso,
Use the normal link_to :