update multi tenancy

This commit is contained in:
Thein Lin Kyaw
2020-01-16 17:04:31 +06:30
parent b5e8bbec43
commit 87ad49a069
7 changed files with 28 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
class Api::CustomersController < Api::ApiController
skip_before_action :authenticate
#List all active customers by name
def index
@customers = Customer.order("name asc")