5ddc46c474
* Refactor: Inbox store, remove inboxes from sidebar * Add a new page for inbox settings * Show inboxes on sidebar * Add inbox_members API * Disable similar-code check * Fix codeclimate scss issues * Add widget_color update API and actions * Add specs for inbox store * Fix Facebook auth flow * Fix agent loading, inbox name
6 lines
218 B
Ruby
6 lines
218 B
Ruby
json.id @inbox.id
|
|
json.channel_id @inbox.channel_id
|
|
json.name @inbox.name
|
|
json.channel_type @inbox.channel_type
|
|
json.website_token @inbox.channel.try(:website_token)
|
|
json.widget_color @inbox.channel.try(:widget_color)
|