mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
17 lines
251 B
Ruby
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
|