Sha256: 7f2903f5dfb2b6fd130c1837c2d859ef356b4e9656e9a7dabdaa520e31cb1d39
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
require_dependency "phcmemberspro/application_controller" module Phcmemberspro class Api::V1::CategoriesController < ApplicationController # Only Responds to API Requests respond_to :json # Directory Category API def index @directory_categories = Directory::Category.where(org_id: current_user.org_id).order('catname ASC') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phcmemberspro-36.1.0 | app/controllers/phcmemberspro/api/v1/categories_controller.rb |
phcmemberspro-36.0.0 | app/controllers/phcmemberspro/api/v1/categories_controller.rb |