diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-30 21:02:21 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-30 21:02:21 +0300 |
commit | 5121576e0c18a3133a12e8c90d5faadb91c70888 (patch) | |
tree | fd1877d4fa87d1c7c723b4bdcf775f2af0b532d0 /app/controllers/oauth | |
parent | a3bd323cd3db718e0aeda9dac29102c3b4656174 (diff) |
before_action > before_filter.
Diffstat (limited to 'app/controllers/oauth')
-rw-r--r-- | app/controllers/oauth/authorized_applications_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/oauth/authorized_applications_controller.rb b/app/controllers/oauth/authorized_applications_controller.rb index 6d0bf9889e6..63c634f376b 100644 --- a/app/controllers/oauth/authorized_applications_controller.rb +++ b/app/controllers/oauth/authorized_applications_controller.rb @@ -1,5 +1,5 @@ class Oauth::AuthorizedApplicationsController < Doorkeeper::AuthorizedApplicationsController - before_filter :set_title + before_action :set_title def destroy Doorkeeper::AccessToken.revoke_all_for(params[:id], current_resource_owner) |