tab/app/controllers/users_controller.rb
2015-09-08 17:40:40 +02:00

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