1
0
Fork 0
find-us-lunch/app/controllers/users_controller.rb

15 lines
202 B
Ruby

class UsersController < ApplicationController
def index
@users = User.all
end
def show
@user = User.find(params[:id])
end
private
def user_params
params.permit(:id)
end
end