class UsersController < ApplicationController
  def new
    @user = User.new
  end

  def create
    user_params
    @user = User.new(user_params)
    @user.save
  end

  def show

  end

  private
    def user_params
      params.require(:user).permit(:username, :email, :password)
    end
end

class UsersController < ApplicationController
  def new
    @user = User.new
  end

  def create
    user_params
    @user = User.new(user_params)
    @user.save
  end

  def show
    @user = User.find(params[:id])
  end

  private
    def user_params
      params.require(:user).permit(:username, :email, :password)
    end
end

Create instance variable to refer to the correct individual when on a show page
Create instance variable to refer to the correct individual when on a show page
