-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning deleting profile picture#4767 #5046
base: master
Are you sure you want to change the base?
Warning deleting profile picture#4767 #5046
Conversation
@@ -46,7 +46,7 @@ def groups | |||
|
|||
def profile_params | |||
params.require(:user).permit(:name, :profile_picture, :country, :educational_institute, | |||
:subscribed, :locale, :remove_picture, :avatar, :vuesim) | |||
:subscribed, :locale, :remove_picture, :avatar, :vuesim) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align the arguments of a method call if they span more than one line.
@@ -85,6 +85,10 @@ | |||
params: { remove_picture: "1" }, | |||
headers: { Authorization: "Token #{token}" }, as: :json | |||
end | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace detected.
Code Climate has analyzed commit cefa808 and detected 2 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Fixes #4767
Description of the Changes
Default state
After delete
here is the video
new-issue4767.mp4
Note: Please check if you would like us to assist in the PR.