15 lines
262 B
Ruby
15 lines
262 B
Ruby
class UsersController < ApplicationController
|
|
load_and_authorize_resource
|
|
|
|
def show
|
|
@user = User.find(params[:id])
|
|
@transaction = Transaction.new
|
|
respond_to do |format|
|
|
format.html
|
|
end
|
|
end
|
|
|
|
def index
|
|
@users = User.all
|
|
end
|
|
end
|