You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
521 B
12 lines
521 B
# frozen_string_literal: true |
|
|
|
class DocumentReflex < ApplicationReflex |
|
include JurisprudenceSearch |
|
|
|
def render_index_table(results) |
|
@results = results |
|
morph "tbody#documentIndexTable", render(DocumentIndexTableBodyComponent.with_collection(@results, current_user: User.first, opts: { is_case_lists: true })) |
|
# render(DocumentIndexTableBodyComponent.with_collection(@results, current_user: current_user, opts: { is_case_lists: true })) |
|
# "<tr> <td> 1 </td> <td> 2 </td> <td> 3</td> </tr>" |
|
end |
|
end
|
|
|