Sha256: f5ebbc04759f6f825bfb00adabfd62584f5f0db42bef0fca6629ac4857550b4e
Contents?: true
Size: 375 Bytes
Versions: 4
Compression:
Stored size: 375 Bytes
Contents
require_dependency "phcmembers/application_controller" module Phcmembers class Api::V1::CategoriesController < ApplicationController # Only Responds to API respond_to :json # Directory Category API def index @directory_categories = Directory::Category.where(org_id: current_user.org_id).order('category_name ASC') end end end
Version data entries
4 entries across 4 versions & 1 rubygems