aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/table_builder_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/table_builder_helper.rb b/app/helpers/table_builder_helper.rb
index 54f6833e7..161ffb17c 100644
--- a/app/helpers/table_builder_helper.rb
+++ b/app/helpers/table_builder_helper.rb
@@ -3,12 +3,14 @@ module TableBuilderHelper
def table_builder_2(
collection,
columns,
+ current_referential: nil,
sortable: true,
selectable: false, # TODO: is this necessary?
# selection_actions: [] ## this has been gotten rid of. The element based on this should be created elsewhere
links: [], # links: or actions: ? I think 'links' is better since 'actions' evokes Rails controller actions and we want to put `link_to`s here
sort_by: {}, # { column: 'name', direction: 'desc' }
cls: '' # can we rename this to "class"?
+ # ^^ rename to html_options = {} at the end of the non-keyword arguments? Hrm, not a fan of combining hash args and keyword args
# sort column
# sort direction