diff options
author | Vinnie Okada <vokada@mrvinn.com> | 2015-02-15 20:50:53 -0700 |
---|---|---|
committer | Vinnie Okada <vokada@mrvinn.com> | 2015-02-15 20:50:53 -0700 |
commit | e0f61a59b4e9be1fc2f20320a0400793318b8a9f (patch) | |
tree | 24072608379d1322c84e39aa022f3da748b050bd /app/views/admin/applications | |
parent | 9e0467c38efb1a279b87cf17df5fb1b9b85aa0fe (diff) | |
download | gitlab-ce-e0f61a59b4e9be1fc2f20320a0400793318b8a9f.tar.gz |
Use shorter map() syntax
Diffstat (limited to 'app/views/admin/applications')
-rw-r--r-- | app/views/admin/applications/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/applications/index.html.haml b/app/views/admin/applications/index.html.haml index 0632888dc82..d550278710e 100644 --- a/app/views/admin/applications/index.html.haml +++ b/app/views/admin/applications/index.html.haml @@ -17,6 +17,6 @@ %tr{:id => "application_#{application.id}"} %td= link_to application.name, admin_application_path(application) %td= application.redirect_uri - %td= application.access_tokens.map { |t| t.resource_owner_id }.uniq.count + %td= application.access_tokens.map(&:resource_owner_id).uniq.count %td= link_to 'Edit', edit_admin_application_path(application), class: 'btn btn-link' %td= render 'delete_form', application: application |