summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-07-26 18:21:20 -0300
committerFelipe Artur <felipefac@gmail.com>2016-08-19 16:14:20 -0300
commit37bf35f0bcba28e271789542fb8c81a6c77236b6 (patch)
treeaa10aa7fbff70b17f9978cbe4aced667197062d9 /app/controllers/dashboard
parent415159c28da1aec00bb383d46aad67a9de75faae (diff)
downloadgitlab-ce-37bf35f0bcba28e271789542fb8c81a6c77236b6.tar.gz
Todos sorting dropdownissue_18135
Diffstat (limited to 'app/controllers/dashboard')
-rw-r--r--app/controllers/dashboard/todos_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/dashboard/todos_controller.rb b/app/controllers/dashboard/todos_controller.rb
index 1243bb96d4d..9828d39869b 100644
--- a/app/controllers/dashboard/todos_controller.rb
+++ b/app/controllers/dashboard/todos_controller.rb
@@ -2,6 +2,7 @@ class Dashboard::TodosController < Dashboard::ApplicationController
before_action :find_todos, only: [:index, :destroy_all]
def index
+ @sort = params[:sort]
@todos = @todos.page(params[:page])
end