diff options
author | Rémy Coutable <remy@rymai.me> | 2019-04-24 19:39:59 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-04-24 19:39:59 +0200 |
commit | c563e29fb37c482951c17680c7e34bfbfafa4ca0 (patch) | |
tree | e2c8ac7911bcbc9630f414ff3634d2313df713b4 /lib/api/helpers.rb | |
parent | 8b2592ee744438711f449062ff2dc26101e57833 (diff) | |
download | gitlab-ce-c563e29fb37c482951c17680c7e34bfbfafa4ca0.tar.gz |
Get rid of the user_namespace API helper method
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib/api/helpers.rb')
-rw-r--r-- | lib/api/helpers.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index 8a21d44b4bf..7e4539d0419 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -67,10 +67,6 @@ module API initial_current_user != current_user end - def user_namespace - @user_namespace ||= find_namespace!(params[:id]) - end - def user_group @group ||= find_group!(params[:id]) end |