diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-11 16:47:36 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-11 16:47:36 +0100 |
commit | 447cfef62d74a670ddd600c0240f41746ac2fe0a (patch) | |
tree | 5c3ed8838f90435b4c4c52a366059cbbd2a24a67 /app/controllers/api/accounts_controller.rb | |
parent | b919f39b3186c5f022d3965cf6023ff9041e91ca (diff) |
Improving feed queries, switching API to doorkeeper authentication
Diffstat (limited to 'app/controllers/api/accounts_controller.rb')
-rw-r--r-- | app/controllers/api/accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/accounts_controller.rb b/app/controllers/api/accounts_controller.rb index fc4c9d681..ac16ed7c1 100644 --- a/app/controllers/api/accounts_controller.rb +++ b/app/controllers/api/accounts_controller.rb @@ -1,6 +1,6 @@ class Api::AccountsController < ApiController before_action :set_account - before_action :authenticate_user! + before_action :doorkeeper_authorize! respond_to :json def show |