-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow referencing of existing return items in create
This change pulls the `before_action` from the backend customer returns controller for parsing `return_items_attributes` in order to handle creating a new customer return which references existing return items from a return authorization. This change works around a limitation in Rails when trying to update the association on existing nested resource while creating the related record. Co-authored-by: Mike Conlin <mike@super.gd>
- Loading branch information
Showing
2 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters