Hi, can someone help me?
I know for sure that I did what it told me to do but I can't get passed step 2
Here's my code:
class UsersController < ApplicationController private def user_params params.require(:user).permit(:first_name, :last_name, :email, :password) end def new @user = User.new end end def create @user = User.new(user_params) if @user.save session[:user_id] = @user.id redirect_to '/' else redirect_to '/signup' end end
Did I do something wrong?
Error: Did you implement the create action? The action 'create' could not be found for UsersController