How to add multiple links to a column in wice_grid
g.column do |task|
link_to('Edit', edit_task_path(task))
link_to('Show', task_path(task))
end
Only a link is shown, other link is not even shown. Rails version 4.0.2
Try this
g.column do |task|
buffer = link_to('Edit', edit_task_path(task))
buffer +=link_to('Show', task_path(task))
raw buffer
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With