lib/generators/dry_crud/templates/app/helpers/crud_helper.rb
# Action link to destroy inside a table.
# A block may be given to define the link path for the row entry.
Action link to destroy inside a table.
A block may be given to define the link path for the row entry.
Action link to destroy inside a table . A block may be given to define the link path for the row entry .
def action_col_destroy(table, &block)
    action_col(table) do |e|
      link_table_action('remove', action_path(e, &block),
                        :confirm => ti(:confirm_delete),
                        :method => :delete)
    end
  end
def action_col_destroy ( table , & block ) action_col ( table ) do | e | link_table_action ( 'remove' , action_path ( e , & block ) , :confirm => ti ( :confirm_delete ) , :method => :delete ) end end
Action link to destroy inside a table.
Action link to destroy inside a table .
table
block