Sort workgroups of tasks by name

This commit is contained in:
Patrick Gansterer 2017-08-11 04:14:57 +02:00
parent 6a110ca429
commit c6297f2864
2 changed files with 2 additions and 2 deletions

View file

@ -9,5 +9,5 @@
%li= link_to t('.all_tasks'), tasks_path
%li= link_to t('.archive'), archive_tasks_path
%li.nav-header= t '.group_tasks'
- for group in Workgroup.all
- for group in Workgroup.order(:name)
%li= link_to group.name, workgroup_tasks_path(workgroup_id: group.id)