internetee-registry/app/controllers/registrar/invoices_controller.rb
2015-04-14 13:55:32 +03:00

17 lines
251 B
Ruby

class Registrar::InvoicesController < RegistrarController
load_and_authorize_resource
before_action :set_invoice, only: [:show]
def index
end
def show
end
private
def set_invoice
@invoice = Invoice.find(params[:id])
end
end