diff options
author | Rémy Coutable <remy@rymai.me> | 2016-04-14 15:26:09 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-04-14 15:26:09 +0000 |
commit | dd9ced0af9514c0cf511c8f0f10d19c014fa4d19 (patch) | |
tree | 8e2e8c380969bde9b96993bbfdc7791ce47f2b10 /app/views | |
parent | 4a514b27e96bfa6024e26b0a7500deec1d89391b (diff) | |
parent | e450892f5688529b8a49e3ae7598f00dbdda7161 (diff) | |
download | gitlab-ce-dd9ced0af9514c0cf511c8f0f10d19c014fa4d19.tar.gz |
Merge branch 'connorshea/gitlab-ce-revoke-authorized-application' into 'master'
Fix revoking of authorized OAuth applications
Users were not able to revoke access to authorized OAuth applications. Clicking the "Revoke" button would result in a 404 page, and the application would still be authorized.
Added a spec and also found that the `gon` variables were not being set for this view.
Closes #14370
See merge request !3690
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/doorkeeper/applications/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/doorkeeper/applications/index.html.haml b/app/views/doorkeeper/applications/index.html.haml index 55f4a6f287d..0aff79749ef 100644 --- a/app/views/doorkeeper/applications/index.html.haml +++ b/app/views/doorkeeper/applications/index.html.haml @@ -68,7 +68,7 @@ %td= app.name %td= token.created_at %td= token.scopes - %td= render 'delete_form', application: app + %td= render 'doorkeeper/authorized_applications/delete_form', application: app - @authorized_anonymous_tokens.each do |token| %tr %td |