Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬
Ruby actioncablechat-widgetconversationcustomer-supportdashboarddesigndockerdocker-imageherokuintercomjavascriptlivechatopensourcerailsrubysassvuejswhatsappzendesk
class CompanyPolicy < ApplicationPolicy
def index?
true
end
def search?
true
end
def show?
true
end
def create?
true
end
def update?
true
end
def avatar?
update?
end
def destroy_custom_attributes?
update?
end
def destroy?
@account_user.administrator?
end
end
CompanyPolicy.prepend_mod_with('CompanyPolicy')