tab/app/controllers/users_controller.rb
2015-09-10 00:35:59 +02:00

14 lines
227 B
Ruby

class UsersController < ApplicationController
load_and_authorize_resource
def show
@user = User.find(params[:id])
respond_to do |format|
format.html
end
end
def index
@users = User.all
end
end