Skip to content

Commit

Permalink
Implement allow_transactions feature (cerebris#1410)
Browse files Browse the repository at this point in the history
You have a configuration option`allow_transactions`, but looks like implementation is missing.
  • Loading branch information
revis0r authored and nginz committed Dec 21, 2023
1 parent e814e59 commit 38dae9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsonapi/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def transactional?
when 'index', 'show_related_resource', 'index_related_resources', 'show', 'show_relationship'
false
else
true
JSONAPI.configuration.allow_transactions
end
end

Expand Down

0 comments on commit 38dae9a

Please sign in to comment.