module TasHelper
  def get_tas_table_info
    tas = Ta.all
    @tas_table_info = tas.map do |ta|
      t = ta.attributes
      t['edit_link'] = url_for(controller: 'tas',
                               action: 'edit',
                               id: ta.id)
      t['delete_link'] = url_for(controller: 'tas',
                                 action: 'destroy',
                                 id: ta.id)
      t
    end
  end
end

module TasHelper
  def get_tas_table_info
    tas = Ta.all
    @tas_table_info = tas.map do |ta|
      t = ta.attributes
      t['edit_link'] = edit_ta_path(ta.id)
      t['delete_link'] = ta_path(ta.id)
      t
    end
  end
end

Fix TA Edit and Delete links in Manage Graders table
Fix TA Edit and Delete links in Manage Graders table
