diff options
author | Josh Frye <joshfng@gmail.com> | 2016-02-06 20:36:46 +0300 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-02-09 18:10:41 +0300 |
commit | 8b4e9720d948d0f0fe61ba7344158560e639393f (patch) | |
tree | 933c37ed98f5f505054c1f5a27c484ac4e386e95 /app/views/shared/projects | |
parent | 30e022a2feec7450c4173038d3fdfef0d6242953 (diff) |
Extract events rendering to own action.
Diffstat (limited to 'app/views/shared/projects')
-rw-r--r-- | app/views/shared/projects/_list.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/projects/_list.html.haml b/app/views/shared/projects/_list.html.haml index 4787502fbc2..75684b972f1 100644 --- a/app/views/shared/projects/_list.html.haml +++ b/app/views/shared/projects/_list.html.haml @@ -21,7 +21,7 @@ #{projects_limit} of #{pluralize(projects.count, 'project')} displayed. = link_to '#', class: 'js-expand' do Show all - = paginate projects, theme: "gitlab" if !projects.kind_of?(Array) + = paginate projects, theme: "gitlab" if projects.respond_to? :total_pages - else %h3 No projects found |