Commit 6919aa0b1d390571bba839ef82cec313047f5492

Authored by Elliot Crosby-McCullough
1 parent ed112023
Exists in master and in 1 other branch production

Sort users in Ruby so we can be case insensitive.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/apps_controller.rb
... ... @@ -37,7 +37,7 @@ class AppsController < ApplicationController
37 37 }
38 38  
39 39 expose(:users) {
40   - User.all.asc(:name)
  40 + User.all.sort_by {|u| u.name.downcase }
41 41 }
42 42  
43 43 def index; end
... ...