Skip to content

Add status: :see_other to update action#583

Merged
rafaelfranca merged 1 commit intorails:mainfrom
excid3:update-see-other
Apr 4, 2025
Merged

Add status: :see_other to update action#583
rafaelfranca merged 1 commit intorails:mainfrom
excid3:update-see-other

Conversation

@excid3
Copy link
Contributor

@excid3 excid3 commented Feb 11, 2025

I noticed today that Rails' scaffold controller adds status: :see_other for the update action, but jbuilder didn't. This updates it to match.

I also reordered the arguments to match the Rails template so it'll match and be easier to spot differences.

Tests won't pass until #582 is merged.

Also reorder kwargs to match the same order as Rails' template.
@rafaelfranca rafaelfranca merged commit 418cd97 into rails:main Apr 4, 2025
7 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants