summaryrefslogtreecommitdiff
path: root/app/controllers/profiles_controller.rb
diff options
context:
space:
mode:
authorRuben Davila <rdavila84@gmail.com>2017-05-02 23:36:36 -0500
committerRuben Davila <rdavila84@gmail.com>2017-05-02 23:36:36 -0500
commit6d5364cfb0e39f49afac9b465f37bd19185c3755 (patch)
tree1bdb7ff4e44307f561efcda47eef7f0f775258fe /app/controllers/profiles_controller.rb
parentbbfbcebdf69261bac6aa142f430719955e8e86b9 (diff)
downloadgitlab-ce-6d5364cfb0e39f49afac9b465f37bd19185c3755.tar.gz
First round of updates from the code review.
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r--app/controllers/profiles_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb
index 0f01bf7e706..57e23cea00e 100644
--- a/app/controllers/profiles_controller.rb
+++ b/app/controllers/profiles_controller.rb
@@ -3,7 +3,6 @@ class ProfilesController < Profiles::ApplicationController
before_action :user
before_action :authorize_change_username!, only: :update_username
- before_action :set_locale, only: :show
skip_before_action :require_email, only: [:show, :update]
def show