Add log render nothing

This commit is contained in:
2014-10-17 16:39:37 +02:00
parent 9e9855f762
commit 4ac4b4c5fe
6 changed files with 35410 additions and 1 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
class DashboardController < ApplicationController
class DashboardController < ApplicationController
layout 'theme1'
before_action :allow_all_origins, only: :error_report
@@ -10,6 +10,7 @@ class DashboardController < ApplicationController
log = UserAppLog.new(params: params[:log])
log.user = current_user
log.save
render nothing: true
end
def close_window