Skip to content

Commit

Permalink
form default context
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Dec 21, 2024
1 parent a64afcf commit 260376b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hyrax/form_fields.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FormFields < Module
# @param [#form_definitions_for] definition_loader
#
# @note use Hyrax::FormFields(:my_schema) instead
def initialize(schema_name, definition_loader: Hyrax::Schema.default_schema_loader, version: 1, contexts:)
def initialize(schema_name, definition_loader: Hyrax::Schema.default_schema_loader, version: 1, contexts: nil)
@name = schema_name
@contexts = contexts
@version = version
Expand Down

0 comments on commit 260376b

Please sign in to comment.