User app error handling upgrades

This commit is contained in:
2014-08-25 16:56:30 +02:00
parent 7a16650129
commit 1eeda440ab
11 changed files with 86 additions and 6 deletions
+7
View File
@@ -1,10 +1,17 @@
class DashboardController < ApplicationController
layout 'theme1'
before_action :allow_all_origins, only: :error_report
def demo_both
render layout: 'demo-both'
end
def user_app_log
log = UserAppLog.new(params: params[:log])
log.user = current_user
log.save
end
# Testing action
def select_qrcode
#@tables = Table.all.sample(2) | List.active.map(&:table)