Skip to content

Commit

Permalink
Fix issue with allow_create
Browse files Browse the repository at this point in the history
  • Loading branch information
janwerkhoven committed Feb 16, 2024
1 parent 28daa2e commit 88b4791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/concerns/json_api_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def forbidden_filters
# allow_create
# end
#
def allow_create(controller_attributes)
def allow_create(controller_attributes: nil)
hash = strong_attributes
.merge(strong_relationships)
.merge(controller_attributes)
Expand Down

0 comments on commit 88b4791

Please sign in to comment.