Update users_controller.rb

This commit is contained in:
alter 2014-05-05 02:49:35 +04:00
parent 7c57675693
commit 42d65aef23

View file

@ -7,7 +7,8 @@ class Admin::UsersController < ApplicationController
people.first_name AS first_name, people.first_name AS first_name,
people.public_name AS public_name, people.public_name AS public_name,
people.email AS email'). people.email AS email').
joins(:person).load.order('people.last_name ASC') joins(:person).load.
order('people.last_name ASC')
end end
def update def update