#251 - Disable subscription in community edition (#277)

* #251 - Disable subscription in community edition

* Hide billing routes in sidebar for community edition

* Remove subscription serializer if billing disabled
This commit is contained in:
Sojan Jose
2019-11-24 19:09:17 +05:30
committed by Sony Mathew
parent 54556bfd58
commit 78adcf822d
8 changed files with 70 additions and 41 deletions

View File

@@ -31,7 +31,8 @@
<%= yield %>
<script>
window.chatwootConfig = {
fbAppId: '<%= ENV['FB_APP_ID'] %>'
fbAppId: '<%= ENV['FB_APP_ID'] %>',
billingEnabled: '<%= ENV['BILLING_ENABLED'] %>'
}
</script>
</body>