Feature: API for updating account settings (#645)

* Feature: API for updating account settings

- API to update account locale
- API to update account name
- API to show account info
This commit is contained in:
Sojan Jose
2020-03-29 12:16:31 +05:30
committed by GitHub
parent 6c48f2e789
commit bab9d663d2
11 changed files with 140 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ Rails.application.routes.draw do
namespace :v1 do
# ----------------------------------
# start of account scoped api routes
resources :accounts, only: [:create], module: :accounts do
resources :accounts, only: [:create, :show, :update], module: :accounts do
namespace :actions do
resource :contact_merge, only: [:create]
end