Make barcodes visible

This commit is contained in:
Robbe Van Herck 2019-04-20 15:36:23 +02:00
parent 4863a7c66c
commit be2a3f1535
No known key found for this signature in database
GPG key ID: 4D1C8E8FBD1C7188

View file

@ -20,6 +20,10 @@ class BarcodesController < ApplicationController
def index
@barcodes = Barcode.all.order(:code)
respond_to do |format|
format.json {render json: @barcodes}
format.html {}
end
end
def show