Skip to content

Commit

Permalink
Pass keyword arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Jul 30, 2022
1 parent d403d30 commit b832355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def auto_complete_controller_name

def sort(field, permitted: [], **kwargs)
kwargs[:url_options] ||= current_url_params(permitted: permitted)
super(field, kwargs)
super(field, **kwargs)
end

def help_button
Expand Down

0 comments on commit b832355

Please sign in to comment.