end of day commit

This commit is contained in:
2012-08-29 17:42:04 +02:00
parent 89700f36e9
commit 8213bae2c6
57 changed files with 1109 additions and 128 deletions
-13
View File
@@ -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