summaryrefslogtreecommitdiff
path: root/app/controllers/oauth
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-30 20:02:21 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-30 20:02:21 +0200
commit5121576e0c18a3133a12e8c90d5faadb91c70888 (patch)
treefd1877d4fa87d1c7c723b4bdcf775f2af0b532d0 /app/controllers/oauth
parenta3bd323cd3db718e0aeda9dac29102c3b4656174 (diff)
downloadgitlab-ce-5121576e0c18a3133a12e8c90d5faadb91c70888.tar.gz
before_action > before_filter.
Diffstat (limited to 'app/controllers/oauth')
-rw-r--r--app/controllers/oauth/authorized_applications_controller.rb2
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)