0
0
Fork 0

Add digest e-mails

This commit is contained in:
Eugen Rochko 2017-03-03 23:45:48 +01:00
parent f5457cc3d2
commit 6b81d10030
25 changed files with 117 additions and 32 deletions

View file

@ -79,6 +79,7 @@ class ApiController < ApplicationController
def require_user!
current_resource_owner
set_user_activity
rescue ActiveRecord::RecordNotFound
render json: { error: 'This method requires an authenticated user' }, status: 422
end