Fix the improper delete form being rendered for an oauth_authorized_application

This fixes the authorized applications not being revoked properly at
`/profile/applications`.

Fixes #14370.
This commit is contained in:
connorshea 2016-04-12 20:38:14 -06:00 committed by Stan Hu
parent 091c77e3c5
commit 0c082d5e3a

View file

@ -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