Sha256: 8e691fedae6db55bf22d264b5277b9469f6f6a710ce767ab64bc0366db86ca53
Contents?: true
Size: 453 Bytes
Versions: 5
Compression:
Stored size: 453 Bytes
Contents
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.status(params[:search]) respond_to do |format| format.yaml { render :text => status.to_yaml } format.json { render :json => status } end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems