diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-15 18:38:38 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-02-20 12:10:26 -0200 |
commit | 38026e5f7708473d2ae7a284a174fea7dac1e5db (patch) | |
tree | 44efe9a8d407586ebec76822da6b853003085e59 /app/controllers/dashboard | |
parent | 77d7910b8b4497dc52a80f8a35b765c978d547a4 (diff) | |
download | gitlab-ce-38026e5f7708473d2ae7a284a174fea7dac1e5db.tar.gz |
Add pending tasks badge on top right next to the new and logout button
Diffstat (limited to 'app/controllers/dashboard')
-rw-r--r-- | app/controllers/dashboard/tasks_controller.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/dashboard/tasks_controller.rb b/app/controllers/dashboard/tasks_controller.rb index 1102745067f..2f049da661c 100644 --- a/app/controllers/dashboard/tasks_controller.rb +++ b/app/controllers/dashboard/tasks_controller.rb @@ -10,9 +10,6 @@ class Dashboard::TasksController < Dashboard::ApplicationController end @tasks = @tasks.page(params[:page]).per(PER_PAGE) - - @pending_count = current_user.tasks.pending.count - @done_count = current_user.tasks.done.count end def destroy |