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:
authorStan Hu <stanhu@gmail.com>2018-12-04 23:28:05 +0300
committerStan Hu <stanhu@gmail.com>2018-12-04 23:28:05 +0300
commit0e3f6251f56563bfafaee2680d6ea07f863df725 (patch)
treee317fed7fceba01d1dc8fb4cd238020e88034cad /app/controllers/profiles
parent334068b9dabeb621839ec829ef84a26f948629f5 (diff)
parent84352177d454e1a8dfa952efca65558501bd9c7d (diff)
Merge branch 'ce-jej/group-saml-unlink-from-account' into 'master'
[CE] Backport GroupSAML unlink changes See merge request gitlab-org/gitlab-ce!23536
Diffstat (limited to 'app/controllers/profiles')
-rw-r--r--app/controllers/profiles/accounts_controller.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/controllers/profiles/accounts_controller.rb b/app/controllers/profiles/accounts_controller.rb
index cb3180f4196..b0d65f284af 100644
--- a/app/controllers/profiles/accounts_controller.rb
+++ b/app/controllers/profiles/accounts_controller.rb
@@ -4,7 +4,7 @@ class Profiles::AccountsController < Profiles::ApplicationController
include AuthHelper
def show
- @user = current_user
+ render(locals: show_view_variables)
end
# rubocop: disable CodeReuse/ActiveRecord
@@ -23,4 +23,10 @@ class Profiles::AccountsController < Profiles::ApplicationController
redirect_to profile_account_path
end
# rubocop: enable CodeReuse/ActiveRecord
+
+ private
+
+ def show_view_variables
+ {}
+ end
end