spec/dummy/app/admin/user_admin.rb in introspective_admin-0.1.0 vs spec/dummy/app/admin/user_admin.rb in introspective_admin-0.9.0

- old
+ new

@@ -1,13 +1,13 @@ -class UserAdmin < IntrospectiveAdmin::Base - def self.include_virtual_attributes - %w(password) - end - - def self.exclude_params - %w(reset_password_at current_sign_in_at current_sign_in_ip remember_created_at sign_in_count encrypted_password reset_password_sent_at reset_password_token password authentication_token unlock_token failed_attempts last_sign_in_at locked_at last_sign_in_ip) - end - - register User do - end - -end +class UserAdmin < IntrospectiveAdmin::Base + def self.include_virtual_attributes + %w(password) + end + + def self.exclude_params + %w(reset_password_at current_sign_in_at current_sign_in_ip remember_created_at sign_in_count encrypted_password reset_password_sent_at reset_password_token password authentication_token unlock_token failed_attempts last_sign_in_at locked_at last_sign_in_ip) + end + + register User do + end + +end