- api to update name and email - api to change password - api to set profile pic - fixes update_attribute! deprecation warning - introducing active storage
This commit is contained in:
@@ -22,7 +22,7 @@ class Api::V1::ContactsController < Api::BaseController
|
||||
end
|
||||
|
||||
def update
|
||||
@contact.update_attributes!(contact_params)
|
||||
@contact.update!(contact_params)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user