Project

General

Profile

Download (455 Bytes) Statistics
| Branch: | Tag: | Revision:
module Api
module V1
class DashboardController < V1::BaseController
param :search, String, :desc => "filter results", :required => false
api :GET, "/dashboard/", "Get Dashboard results"

def index
status = Dashboard::Data.status(params[:search])
respond_to do |format|
format.yaml { render :text => status.to_yaml }
format.json { render :json => status }
end
end
end
end
end
(10-10/32)