summaryrefslogtreecommitdiff
path: root/app/controllers/users_controller.rb
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-03-30 17:14:21 -0300
committerFelipe Artur <felipefac@gmail.com>2016-04-18 11:12:27 -0300
commit668d6ffa437aa5c920e987beb5de4e8dacbfd00c (patch)
tree0d61586b4cbc49916c9c54a3d710d22609966048 /app/controllers/users_controller.rb
parent57519565f167cb771ffed504feefe7b0eb37c027 (diff)
downloadgitlab-ce-668d6ffa437aa5c920e987beb5de4e8dacbfd00c.tar.gz
Add specs and fix code
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r--app/controllers/users_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 69b66e161cf..642f5eea1de 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -1,6 +1,6 @@
class UsersController < ApplicationController
skip_before_action :authenticate_user!
- #TO-DO Remove this "set_user" before action. It is not good to use before filters for loading database records.
+ #TODO felipe_artur: Remove this "set_user" before action. It is not good to use before filters for loading database records.
before_action :set_user, except: [:show]
before_action :authorize_read_user, only: [:show]