diff --git a/app/controllers/my_profile/tasks_controller.rb b/app/controllers/my_profile/tasks_controller.rb index fcb4b4a..62dde55 100644 --- a/app/controllers/my_profile/tasks_controller.rb +++ b/app/controllers/my_profile/tasks_controller.rb @@ -3,11 +3,11 @@ class TasksController < MyProfileController protect 'perform_task', :profile def index - @tasks = profile.all_pending_tasks + @tasks = profile.all_pending_tasks.sort_by(&:created_at) end def processed - @tasks = profile.all_finished_tasks + @tasks = profile.all_finished_tasks.sort_by(&:created_at) end VALID_DECISIONS = [ 'finish', 'cancel' ] -- libgit2 0.21.2