Sha256: 0021273b1bc38357a72a8a1c47ec5a33b70117daafcb2711bdb3095db0ed6cee
Contents?: true
Size: 345 Bytes
Versions: 33
Compression:
Stored size: 345 Bytes
Contents
require_dependency "ishapi/application_controller" module Ishapi class ApiController < ApplicationController def home authorize! :welcome_home, Ishapi render :json => { :status => :ok, :message => 'Ishapi::ApiController.home', :n_reports => Report.count, :n_cities => City.count } end end end
Version data entries
33 entries across 33 versions & 1 rubygems