root/app/controllers/admin/users_controller.rb @ 1caaf4a7
a579432b | Marc Dequènes (Duck) | class Admin::UsersController < Admin::AdminController
|
|
simple_rest_support
|
|||
before_filter :admin_required
|
|||
73f2fc18 | Marc Dequènes (Duck) | after_filter :set_language, :only => [:update]
|
|
def set_language
|
|||
@config.switch_locale(@user.prefered_language) if @user == @current_user
|
|||
end
|
|||
a579432b | Marc Dequènes (Duck) | end
|