diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-26 23:55:21 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-26 23:56:53 +0200 |
commit | 7e14eefc819ce27f45406452a4f8e2039d0f0886 (patch) | |
tree | a58bb240cff3a247b154362a0106369789a04ad1 /app/controllers/api_controller.rb | |
parent | 210362e66578dae32cbf169884d3c2905fe32cb7 (diff) |
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
registration API
Diffstat (limited to 'app/controllers/api_controller.rb')
-rw-r--r-- | app/controllers/api_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index cbe7141b9..e3ac9fc67 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -27,4 +27,8 @@ class ApiController < ApplicationController def current_user super || current_resource_owner end + + def render_empty + render json: {}, status: 200 + end end |