diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-09 18:12:59 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-14 10:36:07 +0300 |
commit | 16970d07e84f5967eccd928c9f9d9d7b027e91ac (patch) | |
tree | 77e73edae67682582df676fcd73b53917c2776eb /app/views/layouts/header | |
parent | 8abd7b35ff20214c072658a4e92e0418ae9e936a (diff) |
Returns created todos to control rather than re-query
Diffstat (limited to 'app/views/layouts/header')
-rw-r--r-- | app/views/layouts/header/_default.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/header/_default.html.haml b/app/views/layouts/header/_default.html.haml index ebc9f01675a..a0f560a13ec 100644 --- a/app/views/layouts/header/_default.html.haml +++ b/app/views/layouts/header/_default.html.haml @@ -27,7 +27,7 @@ %li = link_to dashboard_todos_path, title: 'Todos', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do = icon('bell fw') - %span.badge.todos-pending-count{ class: ("hidden" if todos_pending_count == 0)} + %span.badge.todos-pending-count{ class: ("hidden" if todos_pending_count == 0) } = todos_pending_count - if current_user.can_create_project? %li |