Domain editing for client

This commit is contained in:
Martin Lensment 2014-09-23 17:26:38 +03:00
parent ef0eb7cbc6
commit 92984e19dd
29 changed files with 358 additions and 54 deletions

View file

@ -0,0 +1,7 @@
class Client::ContactsController < ClientController
# TODO: Add Registrar to Contacts and search only contacts that belong to this domain
def search
render json: Contact.search_by_query(params[:q])
end
end