diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-12-06 02:33:37 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-12-06 02:33:37 +0900 |
commit | dd049292d99ae7ae6815d5dac1f1c1668cad4460 (patch) | |
tree | 2aab1f11bf91fc7855505333716d8768cd6ac8a6 /app/controllers/application_controller.rb | |
parent | 850c485806e3289993952e8a5207693921e828ba (diff) | |
download | aclog-dd049292d99ae7ae6815d5dac1f1c1668cad4460.tar.gz |
frontend: fix errors (wip)
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index ece3494..ef448d6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,4 @@ class ApplicationController < ActionController::Base - include SecurityHeaders include ControllerErrorHandling include Utils @@ -61,6 +60,7 @@ class ApplicationController < ActionController::Base end def render_json(data:, **kwargs) + sleep 1 __render__({ json: { authenticity_token: form_authenticity_token, current_user: current_user, data: data } }.merge(kwargs)) end end |