9 lines
143 B
Ruby
9 lines
143 B
Ruby
class UsersController < ApplicationController
|
|
def show
|
|
@user = User.find(params[:id])
|
|
end
|
|
|
|
def index
|
|
@users = User.all
|
|
end
|
|
end
|