diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-07-26 18:21:20 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-08-19 16:14:20 -0300 |
commit | 37bf35f0bcba28e271789542fb8c81a6c77236b6 (patch) | |
tree | aa10aa7fbff70b17f9978cbe4aced667197062d9 /app/controllers/dashboard | |
parent | 415159c28da1aec00bb383d46aad67a9de75faae (diff) | |
download | gitlab-ce-37bf35f0bcba28e271789542fb8c81a6c77236b6.tar.gz |
Todos sorting dropdownissue_18135
Diffstat (limited to 'app/controllers/dashboard')
-rw-r--r-- | app/controllers/dashboard/todos_controller.rb | 1 |
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 |