From 59a3b6f45b0ebed10ce80e075b8cd717aa268551 Mon Sep 17 00:00:00 2001 From: moyuru Date: Sat, 2 Mar 2019 23:46:45 +0000 Subject: Fix authorized applications count --- app/views/doorkeeper/applications/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/doorkeeper') diff --git a/app/views/doorkeeper/applications/index.html.haml b/app/views/doorkeeper/applications/index.html.haml index 1f5c70a6c6e..b6333743bf7 100644 --- a/app/views/doorkeeper/applications/index.html.haml +++ b/app/views/doorkeeper/applications/index.html.haml @@ -52,7 +52,7 @@ .oauth-authorized-applications.prepend-top-20.append-bottom-default - if user_oauth_applications? %h5 - = _("Authorized applications (%{size})") % { size: @authorized_tokens.size } + = _("Authorized applications (%{size})") % { size: @authorized_apps.size } - if @authorized_tokens.any? .table-responsive -- cgit v1.2.1