class AdminController < ApplicationController
  before_filter :authenticate_user!
  authorize_resource :class => false

  def show
    @projects = Project.all
    @projects.each { |p| p.include_builds! }
  end
end

class AdminController < ApplicationController
  before_filter :authenticate_user!
  authorize_resource :class => false

  def show
    @projects = Project.order_by([[:vcs_url, :asc]])
    @projects.each { |p| p.include_builds! }
  end
end

Order the admin page by project name, so we can assume the same order each time.
Order the admin page by project name, so we can assume the same order each time.
