invoice_keeper/app/controllers/products_controller.rb

33 lines
265 B
Ruby

class ProductsController < ApplicationController
def index
end
def new
end
def create
end
def edit
end
def update
end
def destroy
end
private
def product_params
params.require(:product).permit(:name, :vat_id)
end
end