Make barcodes visible
This commit is contained in:
parent
4863a7c66c
commit
be2a3f1535
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue