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