summaryrefslogtreecommitdiff
path: root/app/controllers/profiles/passwords_controller.rb
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2015-04-16 14:03:37 +0200
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2015-04-20 15:39:37 +0200
commit5a4ebfb47af40de6cfe29fe59dae82f8c244e5e3 (patch)
treef87ac47a9d14849659a8a40a53576080593b0670 /app/controllers/profiles/passwords_controller.rb
parent76aade28e25d1f6e8924b35ed9bd365c8889987f (diff)
downloadgitlab-ce-5a4ebfb47af40de6cfe29fe59dae82f8c244e5e3.tar.gz
Fixed the Rails/ActionFilter cop
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Diffstat (limited to 'app/controllers/profiles/passwords_controller.rb')
-rw-r--r--app/controllers/profiles/passwords_controller.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/profiles/passwords_controller.rb b/app/controllers/profiles/passwords_controller.rb
index 0c614969a3f..b719a7fe9a9 100644
--- a/app/controllers/profiles/passwords_controller.rb
+++ b/app/controllers/profiles/passwords_controller.rb
@@ -1,11 +1,11 @@
class Profiles::PasswordsController < ApplicationController
layout :determine_layout
- skip_before_filter :check_password_expiration, only: [:new, :create]
+ skip_before_action :check_password_expiration, only: [:new, :create]
- before_filter :set_user
- before_filter :set_title
- before_filter :authorize_change_password!
+ before_action :set_user
+ before_action :set_title
+ before_action :authorize_change_password!
def new
end