mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Basic invoice show
This commit is contained in:
parent
13c94aeb1c
commit
56853817aa
7 changed files with 75 additions and 1 deletions
|
@ -1,6 +1,17 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue