app/controllers/archangel/backend/profiles_controller.rb in archangel-0.3.0 vs app/controllers/archangel/backend/profiles_controller.rb in archangel-0.4.0

- old
+ new

@@ -7,11 +7,11 @@ module Backend ## # Backend profiles controller # class ProfilesController < BackendController - include Archangel::SkipAuthorizableConcern + include Archangel::Controllers::SkipAuthorizableConcern ## # Backend profile # # Formats @@ -171,10 +171,11 @@ end protected def permitted_attributes - %w[avatar email name password remove_avatar username + %w[avatar email name password password_confirmation remove_avatar + username newsletter] end def resource_content @profile = current_user