Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg committed Feb 21, 2025
1 parent 8652694 commit 1591e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class UsersController < ApplicationController
end
}
def create
user = User.new(user_params)
user = User.new(types_params[:user])

if user.save
render_created user, location: v1_user_url(user)
Expand Down

0 comments on commit 1591e80

Please sign in to comment.