Skip to content

Commit

Permalink
Merge pull request #2427 from projectblacklight/helper-method-keyword…
Browse files Browse the repository at this point in the history
…-args

Pass helper methods options through as keyword args
  • Loading branch information
mejackreed authored Feb 10, 2021
2 parents e0462c6 + cfa46c7 commit ab5ad39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/presenters/blacklight/rendering/helper_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ def render

def render_helper
context.send(config.helper_method,
options.merge(document: document,
field: config.field,
config: config,
value: values))
**options.merge(document: document,
field: config.field,
config: config,
value: values))
end
end
end
Expand Down

0 comments on commit ab5ad39

Please sign in to comment.