You could try to change the controller endpoint so it's not going to devise, but rather a user controller. So you wouldn't use the `edit_user_registration_path` in the view, but rather something like edit_user. With Devise, you may need to add something like `bypass_sign_in(current_user)` as it will sometimes log a user out on changes. So the edit action of the UsersController may look like this.
```
def update
if current_user.update_attributes(user_params)
bypass_sign_in(current_user)
if params[:user][:avatar].present?
render :crop
else
redirect_to edit_user_path(current_user), notice: "Successfully updated user."
end
else
render :edit
end
end
```