root/app/controllers/admin/users_controller.rb @ c7dd4b36
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
|