Skip to content

Commit

Permalink
Merge pull request #5228 from samvera/tx-docs
Browse files Browse the repository at this point in the history
add @see documentation to `Hyrax::Controller#transactions`
  • Loading branch information
elrayle authored Oct 28, 2021
2 parents 2a41dba + 351f7b0 commit d51cb75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/controllers/concerns/hyrax/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ def default_url_options
# @api public
#
# @return [#[]] a resolver for Hyrax's Transactions; this *should* be a
# thread-safe Dry::Container, but callers to this method should strictly
# use #[] for access
# thread-safe {Dry::Container}, but callers to this method should strictly
# use +#[]+ for access.
#
# @example
# transactions['change_set.create_work'].call(my_form)
#
# @see Hyrax::Transactions::Container
# @see Hyrax::Transactions::Transaction
# @see https://dry-rb.org/gems/dry-container
def transactions
Hyrax::Transactions::Container
Expand Down

0 comments on commit d51cb75

Please sign in to comment.