Implement close window on server level

This commit is contained in:
2014-09-05 16:00:44 +02:00
parent 0c49a9fa4d
commit ad7b396dd1
5 changed files with 15 additions and 3 deletions
+4
View File
@@ -12,6 +12,10 @@ class DashboardController < ApplicationController
log.save
end
def close_window
render layout: false
end
# Testing action
def select_qrcode
#@tables = Table.all.sample(2) | List.active.map(&:table)