tests: fix rails 2.7 keyword parameter deprecation warnings.
This commit is contained in:
@@ -258,8 +258,8 @@ module ApplicationHelper
|
||||
simple_form_for(model, **options, &block)
|
||||
end
|
||||
|
||||
def table_for(*args, **options, &block)
|
||||
table = TableBuilder.new(*args, **options, &block)
|
||||
def table_for(...)
|
||||
table = TableBuilder.new(...)
|
||||
render "table_builder/table", table: table
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user