Skip to content

Commit

Permalink
uncomment users api
Browse files Browse the repository at this point in the history
  • Loading branch information
David Chen committed Feb 19, 2023
1 parent efa888e commit 2b46756
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
class UsersController < ApplicationController
before_action :set_user, only: [:show, :update, :destroy, :index]

# # GET /users
# def index
# @users = User.all
# render json: @users
# end
# GET /users
def index
@users = User.all
render json: @users
end

# GET /users/1
def show
Expand Down

0 comments on commit 2b46756

Please sign in to comment.