end of day commit
This commit is contained in:
@@ -82,19 +82,6 @@ class TablesController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
# GET /tables/qrcode
|
||||
# GET /tables/qrcode.png
|
||||
# GET /tables/qrcode.svg
|
||||
def qrcode
|
||||
@table = Table.find(params[:id])
|
||||
code = @table.id
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.svg { render :qrcode => code, :level => :l, :unit => 10 }
|
||||
format.png { render qrcode: code }
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def set_relation_options
|
||||
|
||||
Reference in New Issue
Block a user