Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-30 21:02:21 +0300
committerDouwe Maan <douwe@gitlab.com>2015-04-30 21:02:21 +0300
commit5121576e0c18a3133a12e8c90d5faadb91c70888 (patch)
treefd1877d4fa87d1c7c723b4bdcf775f2af0b532d0 /app/controllers/oauth
parenta3bd323cd3db718e0aeda9dac29102c3b4656174 (diff)
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)