Merge pull request #3013 from crystax/master

Sort groups alphabetically on dashboard page
This commit is contained in:
Dmitriy Zaporozhets 2013-02-19 00:51:08 -08:00
commit 52028dcd2d
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ class DashboardController < ApplicationController
before_filter :event_filter, only: :show
def show
@groups = current_user.authorized_groups
@groups = current_user.authorized_groups.sort_by(&:human_name)
@has_authorized_projects = @projects.count > 0
@teams = current_user.authorized_teams
@projects_count = @projects.count