chore: Add Contact Note APIs (#3266)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class Api::V1::Accounts::Contacts::BaseController < Api::V1::Accounts::BaseController
|
||||
before_action :ensure_contact
|
||||
|
||||
private
|
||||
|
||||
def ensure_contact
|
||||
@contact = Current.account.contacts.find(params[:contact_id])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user