Sha256: 0c81a6b718e19e145c1196443ab98aae30ffe1a2a53f636ec58c785c63e5f05d
Contents?: true
Size: 382 Bytes
Versions: 10
Compression:
Stored size: 382 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(membership_id: membership_info.id).order('catname ASC') end end end
Version data entries
10 entries across 10 versions & 1 rubygems