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:
authorPhil Hughes <me@iamphill.com>2016-02-29 17:47:21 +0300
committerPhil Hughes <me@iamphill.com>2016-03-04 12:06:07 +0300
commit33ba32e6cc12eb8a8bddd957bb99bd2df7628a70 (patch)
tree7ded2909e24141dd2cf7666b7964fb73a188d5ad /app/controllers/profiles_controller.rb
parentf8c4dc97230c520df077c1274fd8d88680da5242 (diff)
Applications tab on profile settings
Closes #13855
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r--app/controllers/profiles_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb
index fa7a1148961..75eb9bdb96f 100644
--- a/app/controllers/profiles_controller.rb
+++ b/app/controllers/profiles_controller.rb
@@ -13,6 +13,7 @@ class ProfilesController < Profiles::ApplicationController
@authorized_tokens = current_user.oauth_authorized_tokens
@authorized_anonymous_tokens = @authorized_tokens.reject(&:application)
@authorized_apps = @authorized_tokens.map(&:application).uniq - [nil]
+ @application = flash[:application] || Doorkeeper::Application.new
end
def update