diff options
author | Stan Hu <stanhu@gmail.com> | 2016-04-12 22:39:18 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-04-14 07:24:58 -0700 |
commit | c7e384aab23301ad0ee3559252324fa957d15db3 (patch) | |
tree | d78a59ec9a9da680dcc93508c92a09885069dd7c /app/controllers/oauth | |
parent | 0c082d5e3a34d787f8b2fea0c22fa4256cf82be3 (diff) | |
download | gitlab-ce-c7e384aab23301ad0ee3559252324fa957d15db3.tar.gz |
Add spec for deletion of authorized OAuth2 application
Closes #14370
Move gon function into its own helper
Diffstat (limited to 'app/controllers/oauth')
-rw-r--r-- | app/controllers/oauth/applications_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/oauth/applications_controller.rb b/app/controllers/oauth/applications_controller.rb index d1e4ac10f6c..377fef65a92 100644 --- a/app/controllers/oauth/applications_controller.rb +++ b/app/controllers/oauth/applications_controller.rb @@ -4,6 +4,7 @@ class Oauth::ApplicationsController < Doorkeeper::ApplicationsController before_action :verify_user_oauth_applications_enabled before_action :authenticate_user! + before_action :add_gon_variables layout 'profile' |