Feature: Add online status to each user (#452)

* Feature: Add online status to each user
* Add OnlineStatusable, add availability status to thumbnail
This commit is contained in:
Pranav Raj S
2020-02-02 22:34:16 +05:30
committed by GitHub
parent 1f4703d25d
commit 0b31e14132
14 changed files with 106 additions and 14 deletions

View File

@@ -4,7 +4,7 @@ class Api::V1::AgentsController < Api::BaseController
before_action :build_agent, only: [:create]
def index
render json: agents
@agents = agents
end
def destroy