Created
October 29, 2021 04:22
-
-
Save JuzerShakir/1e69f169dd6bd60f9ee704ec6ae319a3 to your computer and use it in GitHub Desktop.
used in medium
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
def create | |
@user = User.new(users_params) | |
if @user.save | |
redirect_to @user | |
else | |
render "new" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment