summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authormoyuru <moyuru2@hotmail.com>2019-03-02 23:46:45 +0000
committermoyuru <moyuru2@hotmail.com>2019-03-02 23:46:45 +0000
commit59a3b6f45b0ebed10ce80e075b8cd717aa268551 (patch)
tree574400610c12b4660ca594a157655376196874c8 /app/views
parent190a6a1e6728ff9425154fe9ccacaa75039854c7 (diff)
downloadgitlab-ce-59a3b6f45b0ebed10ce80e075b8cd717aa268551.tar.gz
Fix authorized applications count
Diffstat (limited to 'app/views')
-rw-r--r--app/views/doorkeeper/applications/index.html.haml2
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 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