Feature: Profile API [#238] (#354)

- 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:
Sojan Jose
2019-12-10 10:29:35 +05:30
committed by Pranav Raj S
parent 7f96c39b18
commit 1abaee04d8
15 changed files with 177 additions and 10 deletions

View File

@@ -29,6 +29,7 @@ Rails.application.routes.draw do
resources :inboxes, only: [:create]
end
resource :profile, only: [:show, :update]
resources :accounts, only: [:create]
resources :inboxes, only: [:index, :destroy]
resources :agents, except: [:show, :edit, :new]