Project

General

Profile

Download (265 Bytes) Statistics
| Branch: | Tag: | Revision:
class Admin::UsersController < Admin::AdminController
simple_rest_support

before_filter :admin_required
after_filter :set_language, :only => [:update]

def set_language
@config.switch_locale(@user.prefered_language) if @user == @current_user
end
end
(11-11/11)