diff options
author | Phil Hughes <me@iamphill.com> | 2016-02-29 14:47:21 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-04 09:06:07 +0000 |
commit | 33ba32e6cc12eb8a8bddd957bb99bd2df7628a70 (patch) | |
tree | 7ded2909e24141dd2cf7666b7964fb73a188d5ad /app/controllers/profiles_controller.rb | |
parent | f8c4dc97230c520df077c1274fd8d88680da5242 (diff) | |
download | gitlab-ce-33ba32e6cc12eb8a8bddd957bb99bd2df7628a70.tar.gz |
Applications tab on profile settings
Closes #13855
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r-- | app/controllers/profiles_controller.rb | 1 |
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 |